1 write to _type
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1173_type = GetMenuItemType ();
10 references to _type
UIAutomationClientSideProviders (10)
MS\Internal\AutomationProxies\WindowsMenu.cs (10)
1175if (_type == MenuItemType.Spacer) 1213if (!SafeNativeMethods.IsWindowVisible (_hwnd) || _type == MenuItemType.Spacer) 1218if (iid == ExpandCollapsePattern.Pattern && _type == MenuItemType.SubMenu) 1222else if (iid == InvokePattern.Pattern && _type == MenuItemType.Command) 1226else if (iid == SelectionItemPattern.Pattern && _type == MenuItemType.Command && IsRadioCheck()) 1230else if (iid == TogglePattern.Pattern && _type == MenuItemType.Command && IsChecked() && !IsRadioCheck()) 1394return _type != MenuItemType.Spacer; 1425if (!SafeNativeMethods.IsWindowVisible(_hwnd) || _type == MenuItemType.Spacer) 1970if (_type != MenuItemType.SubMenu) 2132if (_type == MenuItemType.SubMenu && IsEnabledMenu)