public void Close() { IsOpen = false; OnIsOpenChanged?.Invoke(this, IsOpen); }
public void Toggle() { IsOpen = !IsOpen; OnIsOpenChanged?.Invoke(this, IsOpen); }