星火微课系统客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Model_Page.cs 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections.ObjectModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace XHWK.Model
  8. {
  9. public class Model_Page : NotifyModel
  10. {
  11. public ObservableCollection<Model_Canvas> menuList { get; set; }
  12. /// <summary>
  13. /// 总页码
  14. /// </summary>
  15. private int _pagenum = 0;
  16. /// <summary>
  17. /// 总页码
  18. /// </summary>
  19. public int pagenum
  20. {
  21. get => _pagenum;
  22. set { _pagenum = value; OnPropertyChanged("pagenum"); }
  23. }
  24. /// <summary>
  25. /// 当前页 从1开始
  26. /// </summary>
  27. private int _currpage = 0;// 从1开始
  28. /// <summary>
  29. /// 当前页 从1开始
  30. /// </summary>
  31. public int currpage
  32. {
  33. get => _currpage;
  34. set { _currpage = value; OnPropertyChanged("currpage"); }
  35. }
  36. public Model_Page()
  37. {
  38. menuList = new ObservableCollection<Model_Canvas>();
  39. }
  40. }
  41. }