|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- 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<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>();
- }
- }
- }
|