1 instantiation of TogglePattern
UIAutomationClient (1)
System\Windows\Automation\TogglePattern.cs (1)
144return new TogglePattern(el, hPattern, cached);
19 references to TogglePattern
UIAutomationClient (4)
MS\Internal\Automation\Schema.cs (4)
374new AutomationPropertyInfo( convertToToggleState, TogglePattern.ToggleStateProperty, typeof(ToggleState), ToggleState.Indeterminate ), 466private static readonly AutomationProperty [ ] ToggleProperties = { TogglePattern.ToggleStateProperty}; 489new AutomationPatternInfo( TogglePattern.Pattern, ToggleProperties, new WrapObjectClientSide(TogglePattern.Wrap) ),
UIAutomationClientSideProviders (15)
MS\Internal\AutomationProxies\EventManager.cs (4)
303IToggleProvider toggle = el.GetPatternProvider(TogglePattern.Pattern) as IToggleProvider; 307RaisePropertyChangedEvent(el, TogglePattern.ToggleStateProperty, toggle.ToggleState); 512_objectIdWindow.Add(TogglePattern.ToggleStateProperty, new RaiseEvent(HandleToggleStateProperty)); 538_objectIdClient.Add(TogglePattern.ToggleStateProperty, new RaiseEvent(HandleToggleStateProperty));
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
1306new CtrlTypePatterns(ControlType.CheckBox, TogglePattern.Pattern),
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
394else if (idProp == TogglePattern.ToggleStateProperty)
MS\Internal\AutomationProxies\WindowsButton.cs (1)
239else if (iid == TogglePattern.Pattern && _type == ButtonType.CheckBox)
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
695else if (_listBox.IsWinFormCheckedListBox() && iid == TogglePattern.Pattern)
MS\Internal\AutomationProxies\WindowsListViewItem.cs (2)
84if (iid == TogglePattern.Pattern && IsItemWithCheckbox(_hwnd, _item)) 235else if (propertyId == TogglePattern.ToggleStateProperty
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (2)
50if (iid == TogglePattern.Pattern) 88else if (idProp == TogglePattern.ToggleStateProperty)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1234else if (iid == TogglePattern.Pattern && _type == MenuItemType.Command && IsChecked() && !IsRadioCheck())
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
442else if (iid == TogglePattern.Pattern && _isToggleButton)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
806else if (iid == TogglePattern.Pattern && IsItemWithCheckbox())