123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace PDFSettings
- {
- /// <summary>
- /// 所有工具列表
- /// </summary>
- public class AllPDFToolsList : List<ToolItem>
- {
- }
- /// <summary>
- /// 快捷工具列表
- /// </summary>
- public class QuickPDFToolsList : List<ToolItem>
- {
- }
- public class ToolItem : INotifyPropertyChanged
- {
- public event PropertyChangedEventHandler PropertyChanged = delegate { };
- private bool _isShowConciseContent = false;
- /// <summary>
- /// PDF工具集合UI是否显示为只有标题和图标的内容
- /// </summary>
- public bool IsShowConciseContent
- {
- get { return _isShowConciseContent; }
- set
- {
- _isShowConciseContent = value;
- PropertyChanged(this, new PropertyChangedEventArgs("IsShowConciseContent"));
- }
- }
- #region 重要属性
- /// <summary>
- /// 是否为新增工具
- /// </summary>
- public bool IsNew { get; set; }
- #region 工具类型
- /// <summary>
- /// 排序的PDF工具类型:优势工具、常用工具、付费工具等
- /// </summary>
- public int ToolType { get; set; }
- /// <summary>
- /// 某类型PDF工具的排序Id号
- /// </summary>
- public string strToolType { get; set; }
- #endregion
- #region 功能
- /// <summary>
- /// PDF工具某功能的枚举值:用来标识功能
- /// </summary>
- public int FnType { get; set; }
- /// <summary>
- /// 功能名称:拆分功能、合并功能、转档功能等
- /// </summary>
- public string strFnType { get; set; }
- #endregion
- #region 显示内容
- /// <summary>
- /// 图标路径
- /// </summary>
- public string Image { get; set; }
- /// <summary>
- /// 功能说明内容
- /// </summary>
- public string TitleInfo { get; set; }
- /// <summary>
- /// 功能标题
- /// </summary>
- public string Title { get; set; }
- #endregion
- #endregion
- }
- }
|