1 write to _menuType
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1190
_menuType
= type;
21 references to _menuType
UIAutomationClientsideProviders (21)
MS\Internal\AutomationProxies\WindowsMenu.cs (21)
100
_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent).
_menuType
);
114
_expandedMenus[hwnd] = new MenuParentInfo(_parent._hwnd, _parent._item, ((MenuItem)_parent).
_menuType
);
1262
if (
_menuType
== WindowsMenu.MenuType.System)
1314
if (
_menuType
== WindowsMenu.MenuType.System)
1457
if ((
_menuType
== MenuType.Toplevel ||
_menuType
== MenuType.System))
1618
IntPtr submenu =
_menuType
== MenuType.System ? _hmenu : UnsafeNativeMethods.GetSubMenu (_hmenu, _item);
1637
IntPtr submenu =
_menuType
== MenuType.System ? _hmenu : UnsafeNativeMethods.GetSubMenu (_hmenu, _item);
1729
if (
_menuType
== WindowsMenu.MenuType.Toplevel)
1772
if (
_menuType
== WindowsMenu.MenuType.Toplevel)
1960
if (
_menuType
== WindowsMenu.MenuType.System)
2252
if (
_menuType
== WindowsMenu.MenuType.Submenu ||
_menuType
== WindowsMenu.MenuType.Context ||
_menuType
== WindowsMenu.MenuType.SystemPopup)
2324
if (this.
_menuType
== MenuType.Toplevel)
2410
if (
_menuType
== WindowsMenu.MenuType.System)
2416
if (_item == 0 &&
_menuType
== WindowsMenu.MenuType.Toplevel &&
2662
if (
_menuType
== WindowsMenu.MenuType.System)
2682
return new MenuItem(_hwnd, _parent, _item - 1, _hmenu,
_menuType
);
2697
return new MenuItem(_hwnd, _parent, nextItem, _hmenu,
_menuType
);
2733
if (new MenuItem (_hwnd, this._parent, i, _hmenu,
_menuType
).HotKey == chHotKey)