16 references to MenuItemType
UIAutomationClientSideProviders (16)
MS\Internal\AutomationProxies\WindowsMenu.cs (16)
1179
if (_type ==
MenuItemType
.Spacer)
1217
if (!SafeNativeMethods.IsWindowVisible (_hwnd) || _type ==
MenuItemType
.Spacer)
1222
if (iid == ExpandCollapsePattern.Pattern && _type ==
MenuItemType
.SubMenu)
1226
else if (iid == InvokePattern.Pattern && _type ==
MenuItemType
.Command)
1230
else if (iid == SelectionItemPattern.Pattern && _type ==
MenuItemType
.Command && IsRadioCheck())
1234
else if (iid == TogglePattern.Pattern && _type ==
MenuItemType
.Command && IsChecked() && !IsRadioCheck())
1400
return _type !=
MenuItemType
.Spacer;
1431
if (!SafeNativeMethods.IsWindowVisible(_hwnd) || _type ==
MenuItemType
.Spacer)
1943
private
MenuItemType
GetMenuItemType ()
1947
return
MenuItemType
.SubMenu;
1958
return
MenuItemType
.SubMenu;
1965
return
MenuItemType
.Spacer;
1969
return
MenuItemType
.Command; // Everything else
1976
if (_type !=
MenuItemType
.SubMenu)
2138
if (_type ==
MenuItemType
.SubMenu && IsEnabledMenu)
2826
private
MenuItemType
_type;