|
123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System.Collections.ObjectModel;
-
- namespace XHWK.Model
- {
- public class Model_Page : NotifyModel
- {
- public ObservableCollection<Model_Canvas> menuList { get; set; }
-
- /// <summary>
- /// 总页码
- /// </summary>
- private int _pagenum = 0;
-
- /// <summary>
- /// 总页码
- /// </summary>
- public int pagenum
- {
- get => _pagenum;
- set { _pagenum = value; OnPropertyChanged("pagenum"); }
- }
-
- /// <summary>
- /// 当前页 从1开始
- /// </summary>
- private int _currpage = 0;// 从1开始
-
- /// <summary>
- /// 当前页 从1开始
- /// </summary>
- public int currpage
- {
- get => _currpage;
- set { _currpage = value; OnPropertyChanged("currpage"); }
- }
-
- public Model_Page()
- {
- menuList = new ObservableCollection<Model_Canvas>();
- }
- }
- }
|