using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XHWK.Model { public class Model_Page : NotifyModel { public ObservableCollection menuList { get; set; } /// /// 总页码 /// private int _pagenum = 1; /// /// 总页码 /// public int pagenum { get => _pagenum; set { _pagenum = value; OnPropertyChanged("pagenum"); } } /// /// 当前页 从1开始 /// private int _currpage = 1;// 从1开始 /// /// 当前页 从1开始 /// public int currpage { get => _currpage; set { _currpage = value; OnPropertyChanged("currpage"); } } public Model_Page() { menuList = new ObservableCollection(); } } }