1 write to _type
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1174
_type
= GetMenuItemType ();
10 references to _type
UIAutomationClientSideProviders (10)
MS\Internal\AutomationProxies\WindowsMenu.cs (10)
1176
if (
_type
== MenuItemType.Spacer)
1214
if (!SafeNativeMethods.IsWindowVisible (_hwnd) ||
_type
== MenuItemType.Spacer)
1219
if (iid == ExpandCollapsePattern.Pattern &&
_type
== MenuItemType.SubMenu)
1223
else if (iid == InvokePattern.Pattern &&
_type
== MenuItemType.Command)
1227
else if (iid == SelectionItemPattern.Pattern &&
_type
== MenuItemType.Command && IsRadioCheck())
1231
else if (iid == TogglePattern.Pattern &&
_type
== MenuItemType.Command && IsChecked() && !IsRadioCheck())
1395
return
_type
!= MenuItemType.Spacer;
1426
if (!SafeNativeMethods.IsWindowVisible(_hwnd) ||
_type
== MenuItemType.Spacer)
1971
if (
_type
!= MenuItemType.SubMenu)
2133
if (
_type
== MenuItemType.SubMenu && IsEnabledMenu)