24 references to TopLevelHeader
PresentationFramework (19)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (5)
39
if ( (role == MenuItemRole.
TopLevelHeader
|| role == MenuItemRole.SubmenuHeader)
148
if (role == MenuItemRole.
TopLevelHeader
|| role == MenuItemRole.TopLevelItem)
200
if ( (role != MenuItemRole.
TopLevelHeader
&& role != MenuItemRole.SubmenuHeader)
218
if ( (role != MenuItemRole.
TopLevelHeader
&& role != MenuItemRole.SubmenuHeader)
263
else if (role == MenuItemRole.
TopLevelHeader
|| role == MenuItemRole.SubmenuHeader)
System\Windows\Controls\Menu.cs (1)
299
&& newSelection.Role == MenuItemRole.
TopLevelHeader
System\Windows\Controls\MenuItem.cs (12)
613
if (role == MenuItemRole.
TopLevelHeader
)
773
type = MenuItemRole.
TopLevelHeader
;
1484
if (role == MenuItemRole.
TopLevelHeader
|| role == MenuItemRole.SubmenuHeader)
1632
if (((role == MenuItemRole.
TopLevelHeader
|| role == MenuItemRole.TopLevelItem) && IsInMenuMode)
1688
if (((role == MenuItemRole.
TopLevelHeader
|| role == MenuItemRole.TopLevelItem) && OpenOnMouseEnter)
1715
case MenuItemRole.
TopLevelHeader
:
1931
else if (role == MenuItemRole.
TopLevelHeader
)
1972
if ((role != MenuItemRole.
TopLevelHeader
) && (role != MenuItemRole.TopLevelItem))
2039
case MenuItemRole.
TopLevelHeader
:
2192
Debug.Assert(Role == MenuItemRole.
TopLevelHeader
|| Role == MenuItemRole.TopLevelItem, "MenuItem was not top-level");
2290
if (Role == MenuItemRole.
TopLevelHeader
)
2495
if (role == MenuItemRole.
TopLevelHeader
|| role == MenuItemRole.SubmenuHeader)
System\Windows\Controls\Primitives\MenuBase.cs (1)
357
if (role == MenuItemRole.SubmenuHeader || role == MenuItemRole.
TopLevelHeader
)
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1257
if (menuItem != null && menuItem.Role == MenuItemRole.
TopLevelHeader
&&
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (3)
87
if ((role == MenuItemRole.
TopLevelHeader
|| role == MenuItemRole.SubmenuHeader)
149
if ((role != MenuItemRole.
TopLevelHeader
&& role != MenuItemRole.SubmenuHeader)
180
if ((role != MenuItemRole.
TopLevelHeader
&& role != MenuItemRole.SubmenuHeader)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1023
if (Role == MenuItemRole.
TopLevelHeader
&& IsSubmenuOpen)