16 references to MenuItemType
UIAutomationClientsideProviders (16)
MS\Internal\AutomationProxies\WindowsMenu.cs (16)
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)
1958
private
MenuItemType
GetMenuItemType ()
1962
return
MenuItemType
.SubMenu;
1973
return
MenuItemType
.SubMenu;
1980
return
MenuItemType
.Spacer;
1984
return
MenuItemType
.Command; // Everything else
1991
if (_type !=
MenuItemType
.SubMenu)
2153
if (_type ==
MenuItemType
.SubMenu && IsEnabledMenu)
2841
private
MenuItemType
_type;