Exemple #1
0
 public void Close()
 {
     IsOpen = false;
     OnIsOpenChanged?.Invoke(this, IsOpen);
 }
Exemple #2
0
 public void Toggle()
 {
     IsOpen = !IsOpen;
     OnIsOpenChanged?.Invoke(this, IsOpen);
 }