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)
1176if (_type == MenuItemType.Spacer) 1214if (!SafeNativeMethods.IsWindowVisible (_hwnd) || _type == MenuItemType.Spacer) 1219if (iid == ExpandCollapsePattern.Pattern && _type == MenuItemType.SubMenu) 1223else if (iid == InvokePattern.Pattern && _type == MenuItemType.Command) 1227else if (iid == SelectionItemPattern.Pattern && _type == MenuItemType.Command && IsRadioCheck()) 1231else if (iid == TogglePattern.Pattern && _type == MenuItemType.Command && IsChecked() && !IsRadioCheck()) 1395return _type != MenuItemType.Spacer; 1426if (!SafeNativeMethods.IsWindowVisible(_hwnd) || _type == MenuItemType.Spacer) 1971if (_type != MenuItemType.SubMenu) 2133if (_type == MenuItemType.SubMenu && IsEnabledMenu)