示例#1
0
 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();
     }
 }
示例#2
0
 public void CloseQuickSwitches()
 {
     QuickSwitchesBlock.SetIsActive(Popup, false);
 }