Ejemplo n.º 1
0
 private static void Reset()
 {
     if (elements != null)
     {
         RibbonDropDownButton.CloseOpenedPopup(null);
         RibbonGroup.CloseOpenedPopup();
         HideQuickAccessKeys();
     }
 }
Ejemplo n.º 2
0
 private static void MoveBack()
 {
     selectStack.Pop();
     current     = selectStack.Count > 0 ? selectStack.Pop() : null;
     elements    = null;
     keySequence = "";
     Keyboard.Focus(null);
     RibbonDropDownButton.CloseOpenedPopup(null);
     RibbonGroup.CloseOpenedPopup();
     CloseQuickAccessKeys();
     if (current != null)
     {
         ShowQuickAccessKeys(current);
     }
 }