11 writes to IsSubmenuOpen
PresentationFramework (1)
System\Windows\Controls\Primitives\MenuBase.cs (1)
834CurrentSelection.IsSubmenuOpen = false;
System.Windows.Controls.Ribbon (10)
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (2)
155menuItemOwner.IsSubmenuOpen = true; 186menuItemOwner.IsSubmenuOpen = false;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
993selectedMenuItem.IsSubmenuOpen = false;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (6)
803delegate(bool value) { IsSubmenuOpen = value; }, 1056selectedMenuItem.IsSubmenuOpen = false; 1213IsSubmenuOpen = true; 1227IsSubmenuOpen = false; 1678delegate(bool value) { IsSubmenuOpen = value; }, 1827IsSubmenuOpen = true;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
404IsSubmenuOpen = true;
46 references to IsSubmenuOpen
PresentationFramework (27)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
240else if (owner.IsSubmenuOpen)
System\Windows\Controls\Menu.cs (2)
236(CurrentSelection == null || !CurrentSelection.IsSubmenuOpen)) 300&& newSelection.IsSubmenuOpen)
System\Windows\Controls\MenuItem.cs (19)
439if (parent == null || parent.IsSubmenuOpen) 565return mi.IsSubmenuOpen ? BooleanBoxes.FalseBox : value; 661if (menuItem.CurrentSelection.IsSubmenuOpen) 1025if (menuItem.IsSubmenuOpen) 1066if (menuItem.CurrentSelection != null && menuItem.CurrentSelection.IsSubmenuOpen) 1557if (e.OriginalSource == menuItem && menuItem.IsSubmenuOpen) 1719if (!IsSubmenuOpen) 1735if (sibling == null || !sibling.IsSubmenuOpen) 1737if (!IsSubmenuOpen) 1761if (!IsSelected || !IsSubmenuOpen) 1791if (!IsSubmenuOpen) 1900if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen && CurrentSelection == null) 1916if ((role == MenuItemRole.SubmenuHeader) && !IsSubmenuOpen) 1937else if (role == MenuItemRole.SubmenuHeader && !IsSubmenuOpen) 1949if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen && CurrentSelection == null) 1959if (role == MenuItemRole.SubmenuHeader && IsSubmenuOpen && CurrentSelection == null) 1974if (IsSubmenuOpen) 2286if (IsSubmenuOpen) 2303if (!IsSubmenuOpen)
System\Windows\Controls\Primitives\MenuBase.cs (5)
204if (!HasCapture && !IsMouseOver && CurrentSelection != null && !CurrentSelection.IsKeyboardFocused && !CurrentSelection.IsSubmenuOpen) 347wasSubmenuOpen = menu.CurrentSelection.IsSubmenuOpen; 359if (menu.CurrentSelection.IsSubmenuOpen != wasSubmenuOpen) 444if (CurrentSelection != null && CurrentSelection.IsSubmenuOpen) 833wasSubmenuOpen = CurrentSelection.IsSubmenuOpen;
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1244!menuItem.IsSubmenuOpen && e.Key == Key.Escape)
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (2)
110if (menuItemOwner.IsSubmenuOpen && (menuItemOwner.CanUserResizeHorizontally || menuItemOwner.CanUserResizeVertically)) 216else if (menuItemOwner.IsSubmenuOpen)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2437if (e.Handled || menuItem.IsSubmenuOpen)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (15)
319if (menuItem.IsSubmenuOpen) 716if (!IsSubmenuOpen) 787if (IsSubmenuOpen) 802delegate { return IsSubmenuOpen; }, 813if (CanOpenSubMenu || IsSubmenuOpen) 851if (!IsSubmenuOpen) 881if (IsSubmenuOpen) 896if (IsSubmenuOpen) 910if (IsSubmenuOpen && _popup != null && !_popup.IsKeyboardFocusWithin) 923if (IsSubmenuOpen) 929if (IsSubmenuOpen) 989IsSubmenuOpen) 1023if (Role == MenuItemRole.TopLevelHeader && IsSubmenuOpen) 1112if (IsSubmenuOpen) 1139if (!IsSubmenuOpen)