1 instantiation of TogglePattern
UIAutomationClient (1)
System\Windows\Automation\TogglePattern.cs (1)
159
return new
TogglePattern
(el, hPattern, cached);
19 references to TogglePattern
UIAutomationClient (4)
MS\Internal\Automation\Schema.cs (4)
353
new AutomationPropertyInfo( convertToToggleState,
TogglePattern
.ToggleStateProperty, typeof(ToggleState), ToggleState.Indeterminate ),
445
private static readonly AutomationProperty [ ] ToggleProperties = {
TogglePattern
.ToggleStateProperty};
468
new AutomationPatternInfo(
TogglePattern
.Pattern, ToggleProperties, new WrapObjectClientSide(
TogglePattern
.Wrap) ),
UIAutomationClientsideProviders (15)
MS\Internal\AutomationProxies\EventManager.cs (4)
316
IToggleProvider toggle = el.GetPatternProvider(
TogglePattern
.Pattern) as IToggleProvider;
320
RaisePropertyChangedEvent(el,
TogglePattern
.ToggleStateProperty, toggle.ToggleState);
525
_objectIdWindow.Add(
TogglePattern
.ToggleStateProperty, new RaiseEvent(HandleToggleStateProperty));
551
_objectIdClient.Add(
TogglePattern
.ToggleStateProperty, new RaiseEvent(HandleToggleStateProperty));
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
1335
new CtrlTypePatterns(ControlType.CheckBox,
TogglePattern
.Pattern),
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
410
else if (idProp ==
TogglePattern
.ToggleStateProperty)
MS\Internal\AutomationProxies\WindowsButton.cs (1)
255
else if (iid ==
TogglePattern
.Pattern && _type == ButtonType.CheckBox)
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
707
else if (_listBox.IsWinFormCheckedListBox() && iid ==
TogglePattern
.Pattern)
MS\Internal\AutomationProxies\WindowsListViewItem.cs (2)
92
if (iid ==
TogglePattern
.Pattern && IsItemWithCheckbox(_hwnd, _item))
243
else if (propertyId ==
TogglePattern
.ToggleStateProperty
MS\Internal\AutomationProxies\WindowsListViewItemCheckBox.cs (2)
57
if (iid ==
TogglePattern
.Pattern)
95
else if (idProp ==
TogglePattern
.ToggleStateProperty)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1249
else if (iid ==
TogglePattern
.Pattern && _type == MenuItemType.Command && IsChecked() && !IsRadioCheck())
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
453
else if (iid ==
TogglePattern
.Pattern && _isToggleButton)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
817
else if (iid ==
TogglePattern
.Pattern && IsItemWithCheckbox())