private void ToggleQuickSwitches(bool force = true) { if (QuickSwitchesBlock.GetIsActive(Popup)) { QuickSwitchesBlock.SetIsActive(Popup, false); } else if (force || _openOnNext) { InitializePopup(); QuickSwitchesBlock.SetIsActive(Popup, true); Popup.Focus(); } }
public void CloseQuickSwitches() { QuickSwitchesBlock.SetIsActive(Popup, false); }