using Caliburn.Micro.Core; namespace FurnaceUI.DataModule { /// /// 用于分类显示waferType /// public class DisplayByWaferType : PropertyChangedBase { public string Name { get; set; } public string GroupName { get; set; } public string Value { get; set; } private bool _isSelected; public bool IsSelected { get => _isSelected; set { if (_isSelected != value) { _isSelected = value; NotifyOfPropertyChange(()=> IsSelected); } } } private string _bgColor; public string BgColor { get => _bgColor; set { if (_bgColor != value) { _bgColor = value; NotifyOfPropertyChange(() => IsSelected); } } } private int _fontSize; public int FontSize { get => _fontSize; set { if (_fontSize != value) { _fontSize = value; NotifyOfPropertyChange(() => IsSelected); } } } } }