11 writes to IsSubmenuOpen
PresentationFramework (1)
System\Windows\Controls\Primitives\MenuBase.cs (1)
843
CurrentSelection.
IsSubmenuOpen
= false;
System.Windows.Controls.Ribbon (10)
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (2)
159
menuItemOwner.
IsSubmenuOpen
= true;
190
menuItemOwner.
IsSubmenuOpen
= false;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
996
selectedMenuItem.
IsSubmenuOpen
= false;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (6)
806
delegate(bool value) {
IsSubmenuOpen
= value; },
1059
selectedMenuItem.
IsSubmenuOpen
= false;
1216
IsSubmenuOpen
= true;
1230
IsSubmenuOpen
= false;
1681
delegate(bool value) {
IsSubmenuOpen
= value; },
1830
IsSubmenuOpen
= true;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
407
IsSubmenuOpen
= true;
46 references to IsSubmenuOpen
PresentationFramework (27)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
253
else if (owner.
IsSubmenuOpen
)
System\Windows\Controls\Menu.cs (2)
246
(CurrentSelection == null || !CurrentSelection.
IsSubmenuOpen
))
310
&& newSelection.
IsSubmenuOpen
)
System\Windows\Controls\MenuItem.cs (19)
449
if (parent == null || parent.
IsSubmenuOpen
)
575
return mi.
IsSubmenuOpen
? BooleanBoxes.FalseBox : value;
671
if (menuItem.CurrentSelection.
IsSubmenuOpen
)
1035
if (menuItem.
IsSubmenuOpen
)
1076
if (menuItem.CurrentSelection != null && menuItem.CurrentSelection.
IsSubmenuOpen
)
1567
if (e.OriginalSource == menuItem && menuItem.
IsSubmenuOpen
)
1729
if (!
IsSubmenuOpen
)
1745
if (sibling == null || !sibling.
IsSubmenuOpen
)
1747
if (!
IsSubmenuOpen
)
1771
if (!IsSelected || !
IsSubmenuOpen
)
1801
if (!
IsSubmenuOpen
)
1910
if (role == MenuItemRole.SubmenuHeader &&
IsSubmenuOpen
&& CurrentSelection == null)
1926
if ((role == MenuItemRole.SubmenuHeader) && !
IsSubmenuOpen
)
1947
else if (role == MenuItemRole.SubmenuHeader && !
IsSubmenuOpen
)
1959
if (role == MenuItemRole.SubmenuHeader &&
IsSubmenuOpen
&& CurrentSelection == null)
1969
if (role == MenuItemRole.SubmenuHeader &&
IsSubmenuOpen
&& CurrentSelection == null)
1984
if (
IsSubmenuOpen
)
2296
if (
IsSubmenuOpen
)
2313
if (!
IsSubmenuOpen
)
System\Windows\Controls\Primitives\MenuBase.cs (5)
213
if (!HasCapture && !IsMouseOver && CurrentSelection != null && !CurrentSelection.IsKeyboardFocused && !CurrentSelection.
IsSubmenuOpen
)
356
wasSubmenuOpen = menu.CurrentSelection.
IsSubmenuOpen
;
368
if (menu.CurrentSelection.
IsSubmenuOpen
!= wasSubmenuOpen)
453
if (CurrentSelection != null && CurrentSelection.
IsSubmenuOpen
)
842
wasSubmenuOpen = CurrentSelection.
IsSubmenuOpen
;
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1251
!menuItem.
IsSubmenuOpen
&& e.Key == Key.Escape)
System.Windows.Controls.Ribbon (18)
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (2)
114
if (menuItemOwner.
IsSubmenuOpen
&& (menuItemOwner.CanUserResizeHorizontally || menuItemOwner.CanUserResizeVertically))
220
else if (menuItemOwner.
IsSubmenuOpen
)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2442
if (e.Handled || menuItem.
IsSubmenuOpen
)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (15)
322
if (menuItem.
IsSubmenuOpen
)
719
if (!
IsSubmenuOpen
)
790
if (
IsSubmenuOpen
)
805
delegate { return
IsSubmenuOpen
; },
816
if (CanOpenSubMenu ||
IsSubmenuOpen
)
854
if (!
IsSubmenuOpen
)
884
if (
IsSubmenuOpen
)
899
if (
IsSubmenuOpen
)
913
if (
IsSubmenuOpen
&& _popup != null && !_popup.IsKeyboardFocusWithin)
926
if (
IsSubmenuOpen
)
932
if (
IsSubmenuOpen
)
992
IsSubmenuOpen
)
1026
if (Role == MenuItemRole.TopLevelHeader &&
IsSubmenuOpen
)
1115
if (
IsSubmenuOpen
)
1142
if (!
IsSubmenuOpen
)