1 instantiation of SelectionPattern
UIAutomationClient (1)
System\Windows\Automation\SelectionPattern.cs (1)
150
return new
SelectionPattern
(el, hPattern, cached);
26 references to SelectionPattern
UIAutomationClient (8)
MS\Internal\Automation\Schema.cs (8)
347
new AutomationPropertyInfo( convertToElementArray,
SelectionPattern
.SelectionProperty, typeof(AutomationElement[]), new AutomationElement[]{} ),
348
new AutomationPropertyInfo( convertToBool,
SelectionPattern
.CanSelectMultipleProperty, typeof(bool), false ),
349
new AutomationPropertyInfo( convertToBool,
SelectionPattern
.IsSelectionRequiredProperty, typeof(bool), false ),
429
private static readonly AutomationProperty [ ] SelectionProperties = {
SelectionPattern
.SelectionProperty,
430
SelectionPattern
.CanSelectMultipleProperty,
431
SelectionPattern
.IsSelectionRequiredProperty };
475
new AutomationPatternInfo(
SelectionPattern
.Pattern, SelectionProperties, new WrapObjectClientSide(
SelectionPattern
.Wrap) ),
UIAutomationClientSideProviders (18)
MS\Internal\AutomationProxies\EventManager.cs (6)
276
ISelectionProvider selection = el.GetPatternProvider(
SelectionPattern
.Pattern) as ISelectionProvider;
280
RaisePropertyChangedEvent(el,
SelectionPattern
.IsSelectionRequiredProperty, selection.IsSelectionRequired);
436
AutomationInteropProvider.RaiseAutomationEvent(
SelectionPattern
.InvalidatedEvent, el, new AutomationEventArgs(
SelectionPattern
.InvalidatedEvent));
529
_objectIdClient.Add(
SelectionPattern
.IsSelectionRequiredProperty, new RaiseEvent(HandleIsSelectionRequiredProperty));
537
_objectIdClient.Add(
SelectionPattern
.InvalidatedEvent, new RaiseEvent(HandleInvalidatedEvent));
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
1311
new CtrlTypePatterns(ControlType.List,
SelectionPattern
.Pattern),
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
433
else if (idEvent ==
SelectionPattern
.InvalidatedEvent)
MS\Internal\AutomationProxies\WindowsButton.cs (1)
231
else if (iid ==
SelectionPattern
.Pattern && _type == ButtonType.GroupBox)
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
94
else if (iid ==
SelectionPattern
.Pattern)
MS\Internal\AutomationProxies\WindowsListBox.cs (4)
149
if (iid ==
SelectionPattern
.Pattern)
405
if (idProp ==
SelectionPattern
.IsSelectionRequiredProperty && !IsMultipleSelection() && !HasSelection())
454
if ((eventId == NativeMethods.EventObjectSelection || eventId == NativeMethods.EventObjectSelectionAdd) && (idProp as AutomationProperty) ==
SelectionPattern
.IsSelectionRequiredProperty)
457
WinEventTracker.EvtIdProperty[] aEvtIdProperties = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection,
SelectionPattern
.IsSelectionRequiredProperty) };
MS\Internal\AutomationProxies\WindowsListView.cs (1)
166
if (iid ==
SelectionPattern
.Pattern)
MS\Internal\AutomationProxies\WindowsTab.cs (1)
132
if (iid ==
SelectionPattern
.Pattern)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
138
if (iid ==
SelectionPattern
.Pattern)
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
230
else if (iid ==
SelectionPattern
.Pattern)