15 references to Toplevel
UIAutomationClientSideProviders (15)
MS\Internal\AutomationProxies\NonClientArea.cs (2)
158
WindowsMenu appMenu = new WindowsMenu(hwnd, nonClientArea, menu, WindowsMenu.MenuType.
Toplevel
, (int) NonClientItem.Menu);
548
menuProxy = new WindowsMenu(_hwnd, this, menu, WindowsMenu.MenuType.
Toplevel
, (int)NonClientItem.Menu);
MS\Internal\AutomationProxies\WindowsMenu.cs (13)
56
case MenuType.
Toplevel
:
160
MenuType type = MenuType.
Toplevel
;
542
MenuType parentType = MenuType.
Toplevel
;
552
if (parentType == MenuType.
Toplevel
)
581
parentType = MenuType.
Toplevel
;
610
parentType = MenuType.
Toplevel
;
831
case MenuType.
Toplevel
:
852
case MenuType.
Toplevel
:
1442
if ((_menuType == MenuType.
Toplevel
|| _menuType == MenuType.System))
1714
if (_menuType == WindowsMenu.MenuType.
Toplevel
)
1757
if (_menuType == WindowsMenu.MenuType.
Toplevel
)
2309
if (this._menuType == MenuType.
Toplevel
)
2401
if (_item == 0 && _menuType == WindowsMenu.MenuType.
Toplevel
&&