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