星火微课系统客户端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ModelPage.cs 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using System.Collections.ObjectModel;
  2. namespace XHWK.Model
  3. {
  4. public class ModelPage : NotifyModel
  5. {
  6. public ObservableCollection<ModelCanvas> menuList { get; set; }
  7. /// <summary>
  8. /// 总页码
  9. /// </summary>
  10. private int _pagenum;
  11. /// <summary>
  12. /// 总页码
  13. /// </summary>
  14. public int pagenum
  15. {
  16. get => _pagenum;
  17. set { _pagenum = value; OnPropertyChanged("pagenum"); }
  18. }
  19. /// <summary>
  20. /// 当前页 从1开始
  21. /// </summary>
  22. private int _currpage; // 从1开始
  23. /// <summary>
  24. /// 当前页 从1开始
  25. /// </summary>
  26. public int currpage
  27. {
  28. get => _currpage;
  29. set { _currpage = value; OnPropertyChanged("currpage"); }
  30. }
  31. public ModelPage()
  32. {
  33. menuList = new ObservableCollection<ModelCanvas>();
  34. }
  35. /// <summary>
  36. /// 文字大小20px
  37. /// </summary>
  38. public double WordSize20 { get; set; }
  39. /// <summary>
  40. /// 文字大小18px
  41. /// </summary>
  42. public double WordSize18 { get; set; }
  43. /// <summary>
  44. /// 文字大小16px
  45. /// </summary>
  46. public double WordSize16 { get; set; }
  47. /// <summary>
  48. /// 文字大小14px
  49. /// </summary>
  50. public double WordSize14 { get; set; }
  51. /// <summary>
  52. /// 文字大小12px
  53. /// </summary>
  54. public double WordSize12 { get; set; }
  55. }
  56. }