6 instantiations of MenuItem
UIAutomationClientSideProviders (6)
MS\Internal\AutomationProxies\WindowsMenu.cs (6)
501return new MenuItem(_hwnd, this, index, _hmenu, _type); 566return new MenuItem(hwndParent, parent, ownerMenuItemPos, menuParent, parentType); 2153return new MenuItem(hwndSubmenu, parent, childIndex, hSubmenu, type); 2667return new MenuItem(_hwnd, _parent, _item - 1, _hmenu, _menuType); 2682return new MenuItem(_hwnd, _parent, nextItem, _hmenu, _menuType); 2718if (new MenuItem (_hwnd, this._parent, i, _hmenu, _menuType).HotKey == chHotKey)
15 references to MenuItem
UIAutomationClientSideProviders (15)
MS\Internal\AutomationProxies\WindowsMenu.cs (15)
87_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent)._menuType); 101_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent)._menuType); 499internal MenuItem CreateMenuItem (int index) 530internal static MenuItem GetHierarchyParent(IntPtr hwnd) 954MenuItem parent = null; 992parent = (MenuItem) menu.CreateMenuItem (parentInfo._menuItem); 1022parent = (MenuItem)menu.CreateMenuItem(0); 1036parent = (MenuItem)GetSystemPopupParent(); 1581return ((MenuItem) child).PreviousMenuItem; 1597return ((MenuItem) child).NextMenuItem; 1642for (MenuItem menuCur = FirstOrLastChild (true); menuCur != null; menuCur = menuCur.NextMenuItem) 2135private MenuItem FirstOrLastChild (bool returnFirstChild) 2175MenuItem firstMenu = FirstOrLastChild (true); 2660private MenuItem PreviousMenuItem 2673private MenuItem NextMenuItem