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