1 write to _type
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1192
_type
= GetMenuItemType ();
10 references to _type
UIAutomationClientsideProviders (10)
MS\Internal\AutomationProxies\WindowsMenu.cs (10)
1194
if (
_type
== MenuItemType.Spacer)
1232
if (!SafeNativeMethods.IsWindowVisible (_hwnd) ||
_type
== MenuItemType.Spacer)
1237
if (iid == ExpandCollapsePattern.Pattern &&
_type
== MenuItemType.SubMenu)
1241
else if (iid == InvokePattern.Pattern &&
_type
== MenuItemType.Command)
1245
else if (iid == SelectionItemPattern.Pattern &&
_type
== MenuItemType.Command && IsRadioCheck())
1249
else if (iid == TogglePattern.Pattern &&
_type
== MenuItemType.Command && IsChecked() && !IsRadioCheck())
1415
return
_type
!= MenuItemType.Spacer;
1446
if (!SafeNativeMethods.IsWindowVisible(_hwnd) ||
_type
== MenuItemType.Spacer)
1991
if (
_type
!= MenuItemType.SubMenu)
2153
if (
_type
== MenuItemType.SubMenu && IsEnabledMenu)