12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- using Caliburn.Micro.Core;
- namespace FurnaceUI.DataModule
- {
- /// <summary>
- /// 用于分类显示waferType
- /// </summary>
- 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);
- }
- }
- }
- }
- }
|