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