1 instantiation of SelectionPattern
UIAutomationClient (1)
System\Windows\Automation\SelectionPattern.cs (1)
162return new SelectionPattern(el, hPattern, cached);
26 references to SelectionPattern
UIAutomationClient (8)
MS\Internal\Automation\Schema.cs (8)
326new AutomationPropertyInfo( convertToElementArray, SelectionPattern.SelectionProperty, typeof(AutomationElement[]), new AutomationElement[]{} ), 327new AutomationPropertyInfo( convertToBool, SelectionPattern.CanSelectMultipleProperty, typeof(bool), false ), 328new AutomationPropertyInfo( convertToBool, SelectionPattern.IsSelectionRequiredProperty, typeof(bool), false ), 408private static readonly AutomationProperty [ ] SelectionProperties = { SelectionPattern.SelectionProperty, 409SelectionPattern.CanSelectMultipleProperty, 410SelectionPattern.IsSelectionRequiredProperty }; 454new AutomationPatternInfo( SelectionPattern.Pattern, SelectionProperties, new WrapObjectClientSide(SelectionPattern.Wrap) ),
UIAutomationClientsideProviders (18)
MS\Internal\AutomationProxies\EventManager.cs (6)
289ISelectionProvider selection = el.GetPatternProvider(SelectionPattern.Pattern) as ISelectionProvider; 293RaisePropertyChangedEvent(el, SelectionPattern.IsSelectionRequiredProperty, selection.IsSelectionRequired); 449AutomationInteropProvider.RaiseAutomationEvent(SelectionPattern.InvalidatedEvent, el, new AutomationEventArgs(SelectionPattern.InvalidatedEvent)); 542_objectIdClient.Add(SelectionPattern.IsSelectionRequiredProperty, new RaiseEvent(HandleIsSelectionRequiredProperty)); 550_objectIdClient.Add(SelectionPattern.InvalidatedEvent, new RaiseEvent(HandleInvalidatedEvent));
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
1340new CtrlTypePatterns(ControlType.List, SelectionPattern.Pattern),
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
449else if (idEvent == SelectionPattern.InvalidatedEvent)
MS\Internal\AutomationProxies\WindowsButton.cs (1)
247else if (iid == SelectionPattern.Pattern && _type == ButtonType.GroupBox)
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
110else if (iid == SelectionPattern.Pattern)
MS\Internal\AutomationProxies\WindowsListBox.cs (4)
161if (iid == SelectionPattern.Pattern) 417if (idProp == SelectionPattern.IsSelectionRequiredProperty && !IsMultipleSelection() && !HasSelection()) 466if ((eventId == NativeMethods.EventObjectSelection || eventId == NativeMethods.EventObjectSelectionAdd) && (idProp as AutomationProperty) == SelectionPattern.IsSelectionRequiredProperty) 469WinEventTracker.EvtIdProperty[] aEvtIdProperties = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, SelectionPattern.IsSelectionRequiredProperty) };
MS\Internal\AutomationProxies\WindowsListView.cs (1)
176if (iid == SelectionPattern.Pattern)
MS\Internal\AutomationProxies\WindowsTab.cs (1)
132if (iid == SelectionPattern.Pattern)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
149if (iid == SelectionPattern.Pattern)
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
240else if (iid == SelectionPattern.Pattern)