1 write to IsSubmenuOpen
PresentationFramework (1)
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (1)
854
CurrentSelection.
IsSubmenuOpen
= false;
27 references to IsSubmenuOpen
PresentationFramework (27)
src\Framework\System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (1)
228
else if (owner.
IsSubmenuOpen
)
src\Framework\System\Windows\Controls\Menu.cs (2)
267
(CurrentSelection == null || !CurrentSelection.
IsSubmenuOpen
))
331
&& newSelection.
IsSubmenuOpen
)
src\Framework\System\Windows\Controls\MenuItem.cs (19)
452
if (parent == null || parent.
IsSubmenuOpen
)
570
return mi.
IsSubmenuOpen
? BooleanBoxes.FalseBox : value;
666
if (menuItem.CurrentSelection.
IsSubmenuOpen
)
1021
if (menuItem.
IsSubmenuOpen
)
1062
if (menuItem.CurrentSelection != null && menuItem.CurrentSelection.
IsSubmenuOpen
)
1603
if (e.OriginalSource == menuItem && menuItem.
IsSubmenuOpen
)
1765
if (!
IsSubmenuOpen
)
1781
if (sibling == null || !sibling.
IsSubmenuOpen
)
1783
if (!
IsSubmenuOpen
)
1807
if (!IsSelected || !
IsSubmenuOpen
)
1837
if (!
IsSubmenuOpen
)
1952
if (role == MenuItemRole.SubmenuHeader &&
IsSubmenuOpen
&& CurrentSelection == null)
1968
if ((role == MenuItemRole.SubmenuHeader) && !
IsSubmenuOpen
)
1989
else if (role == MenuItemRole.SubmenuHeader && !
IsSubmenuOpen
)
2001
if (role == MenuItemRole.SubmenuHeader &&
IsSubmenuOpen
&& CurrentSelection == null)
2011
if (role == MenuItemRole.SubmenuHeader &&
IsSubmenuOpen
&& CurrentSelection == null)
2026
if (
IsSubmenuOpen
)
2356
if (
IsSubmenuOpen
)
2373
if (!
IsSubmenuOpen
)
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (5)
215
if (!HasCapture && !IsMouseOver && CurrentSelection != null && !CurrentSelection.IsKeyboardFocused && !CurrentSelection.
IsSubmenuOpen
)
358
wasSubmenuOpen = menu.CurrentSelection.
IsSubmenuOpen
;
370
if (menu.CurrentSelection.
IsSubmenuOpen
!= wasSubmenuOpen)
457
if (CurrentSelection != null && CurrentSelection.
IsSubmenuOpen
)
853
wasSubmenuOpen = CurrentSelection.
IsSubmenuOpen
;