public override void SetValue(ISelectable value) { if ((value == null || CurrentValue != value) && CurrentValue != null) { CurrentValue.Deselect(); } base.SetValue(value); CurrentValue?.Select(); }