using BPA.Helper; using BPA.UIControl; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPA.Model { public class ViewItem : NotifyBase { public ViewItem(string name, object content, IconType? iconType = null) { Name = name; Content = content; Icon = iconType; } public ViewItem() { } /// /// 名称 /// public string Name { get { return _mName; } set { _mName = value; OnPropertyChanged(); } } private string _mName; /// /// 描述 /// public string Description { get { return _mDescription; } set { _mDescription = value; OnPropertyChanged(); } } private string _mDescription; /// /// 内容 /// public object Content { get { return _mContent; } set { _mContent = value; OnPropertyChanged(); } } private object _mContent; /// /// 图标类型 /// public IconType? Icon { get { return _mIcon; } set { _mIcon = value; OnPropertyChanged(); } } private IconType? _mIcon; } }