using System.Collections.ObjectModel; namespace XHWK.Model { public class ModelPage : NotifyModel { public ObservableCollection menuList { get; set; } /// /// 总页码 /// private int _pagenum; /// /// 总页码 /// public int pagenum { get => _pagenum; set { _pagenum = value; OnPropertyChanged("pagenum"); } } /// /// 当前页 从1开始 /// private int _currpage; // 从1开始 /// /// 当前页 从1开始 /// public int currpage { get => _currpage; set { _currpage = value; OnPropertyChanged("currpage"); } } public ModelPage() { menuList = new ObservableCollection(); } /// /// 文字大小20px /// public double WordSize20 { get; set; } /// /// 文字大小18px /// public double WordSize18 { get; set; } /// /// 文字大小16px /// public double WordSize16 { get; set; } /// /// 文字大小14px /// public double WordSize14 { get; set; } /// /// 文字大小12px /// public double WordSize12 { get; set; } } }