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