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