Beispiel #1
0
 protected virtual void OnIsSelectedChanged(bool oldValue, bool newValue)
 {
     if (newValue)
     {
         TabSelected?.Invoke(this, new EventArgs());
     }
     else
     {
         TabDeselected?.Invoke(this, new EventArgs());
     }
     NotifyPropertyChanged(nameof(IsSelected));
 }
Beispiel #2
0
 protected virtual void OnTabDeselected(EventArgs e)
 {
     TabDeselected?.Invoke(this, e);
 }