22 references to SubmenuHeader
PresentationFramework (19)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (4)
39if ( (role == MenuItemRole.TopLevelHeader || role == MenuItemRole.SubmenuHeader) 200if ( (role != MenuItemRole.TopLevelHeader && role != MenuItemRole.SubmenuHeader) 218if ( (role != MenuItemRole.TopLevelHeader && role != MenuItemRole.SubmenuHeader) 263else if (role == MenuItemRole.TopLevelHeader || role == MenuItemRole.SubmenuHeader)
System\Windows\Controls\MenuItem.cs (14)
695if ((menuItem.IsMouseOver) && (menuItem.Role == MenuItemRole.SubmenuHeader)) 777type = MenuItemRole.SubmenuHeader; 1484if (role == MenuItemRole.TopLevelHeader || role == MenuItemRole.SubmenuHeader) 1633|| (role == MenuItemRole.SubmenuHeader || role == MenuItemRole.SubmenuItem)) 1689|| (role == MenuItemRole.SubmenuHeader || role == MenuItemRole.SubmenuItem)) 1726case MenuItemRole.SubmenuHeader: 1781if (role == MenuItemRole.SubmenuHeader || role == MenuItemRole.SubmenuItem) 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) 2040case MenuItemRole.SubmenuHeader : 2493if (role == MenuItemRole.TopLevelHeader || role == MenuItemRole.SubmenuHeader)
System\Windows\Controls\Primitives\MenuBase.cs (1)
357if (role == MenuItemRole.SubmenuHeader || role == MenuItemRole.TopLevelHeader)
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (3)
87if ((role == MenuItemRole.TopLevelHeader || role == MenuItemRole.SubmenuHeader) 149if ((role != MenuItemRole.TopLevelHeader && role != MenuItemRole.SubmenuHeader) 180if ((role != MenuItemRole.TopLevelHeader && role != MenuItemRole.SubmenuHeader)