1 instantiation of SelectionPattern
UIAutomationClient (1)
System\Windows\Automation\SelectionPattern.cs (1)
154return new SelectionPattern(el, hPattern, cached);
26 references to SelectionPattern
UIAutomationClient (8)
MS\Internal\Automation\Schema.cs (8)
352new AutomationPropertyInfo( convertToElementArray, SelectionPattern.SelectionProperty, typeof(AutomationElement[]), new AutomationElement[]{} ), 353new AutomationPropertyInfo( convertToBool, SelectionPattern.CanSelectMultipleProperty, typeof(bool), false ), 354new AutomationPropertyInfo( convertToBool, SelectionPattern.IsSelectionRequiredProperty, typeof(bool), false ), 434private static readonly AutomationProperty [ ] SelectionProperties = { SelectionPattern.SelectionProperty, 435SelectionPattern.CanSelectMultipleProperty, 436SelectionPattern.IsSelectionRequiredProperty }; 480new AutomationPatternInfo( SelectionPattern.Pattern, SelectionProperties, new WrapObjectClientSide(SelectionPattern.Wrap) ),
UIAutomationClientSideProviders (18)
MS\Internal\AutomationProxies\EventManager.cs (6)
282ISelectionProvider selection = el.GetPatternProvider(SelectionPattern.Pattern) as ISelectionProvider; 286RaisePropertyChangedEvent(el, SelectionPattern.IsSelectionRequiredProperty, selection.IsSelectionRequired); 442AutomationInteropProvider.RaiseAutomationEvent(SelectionPattern.InvalidatedEvent, el, new AutomationEventArgs(SelectionPattern.InvalidatedEvent)); 535_objectIdClient.Add(SelectionPattern.IsSelectionRequiredProperty, new RaiseEvent(HandleIsSelectionRequiredProperty)); 543_objectIdClient.Add(SelectionPattern.InvalidatedEvent, new RaiseEvent(HandleInvalidatedEvent));
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
1313new CtrlTypePatterns(ControlType.List, SelectionPattern.Pattern),
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
438else if (idEvent == SelectionPattern.InvalidatedEvent)
MS\Internal\AutomationProxies\WindowsButton.cs (1)
236else if (iid == SelectionPattern.Pattern && _type == ButtonType.GroupBox)
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
98else if (iid == SelectionPattern.Pattern)
MS\Internal\AutomationProxies\WindowsListBox.cs (4)
153if (iid == SelectionPattern.Pattern) 409if (idProp == SelectionPattern.IsSelectionRequiredProperty && !IsMultipleSelection() && !HasSelection()) 458if ((eventId == NativeMethods.EventObjectSelection || eventId == NativeMethods.EventObjectSelectionAdd) && (idProp as AutomationProperty) == SelectionPattern.IsSelectionRequiredProperty) 461WinEventTracker.EvtIdProperty[] aEvtIdProperties = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, SelectionPattern.IsSelectionRequiredProperty) };
MS\Internal\AutomationProxies\WindowsListView.cs (1)
169if (iid == SelectionPattern.Pattern)
MS\Internal\AutomationProxies\WindowsTab.cs (1)
134if (iid == SelectionPattern.Pattern)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
140if (iid == SelectionPattern.Pattern)
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
232else if (iid == SelectionPattern.Pattern)