1 instantiation of SelectionItemPattern
UIAutomationClient (1)
System\Windows\Automation\SelectionItemPattern.cs (1)
179return new SelectionItemPattern(el, hPattern, cached);
42 references to SelectionItemPattern
UIAutomationClient (6)
MS\Internal\Automation\Schema.cs (6)
367new AutomationPropertyInfo( convertToBool, SelectionItemPattern.IsSelectedProperty, typeof(bool), false ), 368new AutomationPropertyInfo( convertToElement, SelectionItemPattern.SelectionContainerProperty, typeof(AutomationElement), null ), 456private static readonly AutomationProperty [ ] SelectionItemProperties = { SelectionItemPattern.IsSelectedProperty, 457SelectionItemPattern.SelectionContainerProperty}; 484new AutomationPatternInfo( SelectionItemPattern.Pattern, SelectionItemProperties, new WrapObjectClientSide(SelectionItemPattern.Wrap) ),
UIAutomationClientSideProviders (36)
MS\Internal\AutomationProxies\EventManager.cs (15)
204ISelectionItemProvider selectionItem = el.GetPatternProvider(SelectionItemPattern.Pattern) as ISelectionItemProvider; 208RaisePropertyChangedEvent(el, SelectionItemPattern.IsSelectedProperty, selectionItem.IsSelected); 361ISelectionItemProvider selProvider = el.GetPatternProvider(SelectionItemPattern.Pattern) as ISelectionItemProvider; 368AutomationInteropProvider.RaiseAutomationEvent(SelectionItemPattern.ElementSelectedEvent, el, new AutomationEventArgs(SelectionItemPattern.ElementSelectedEvent)); 374ISelectionItemProvider selProvider = el.GetPatternProvider(SelectionItemPattern.Pattern) as ISelectionItemProvider; 380AutomationInteropProvider.RaiseAutomationEvent(SelectionItemPattern.ElementAddedToSelectionEvent, el, new AutomationEventArgs(SelectionItemPattern.ElementAddedToSelectionEvent)); 386ISelectionItemProvider selProvider = el.GetPatternProvider(SelectionItemPattern.Pattern) as ISelectionItemProvider; 392AutomationInteropProvider.RaiseAutomationEvent(SelectionItemPattern.ElementRemovedFromSelectionEvent, el, new AutomationEventArgs(SelectionItemPattern.ElementRemovedFromSelectionEvent)); 521_objectIdClient.Add(SelectionItemPattern.IsSelectedProperty, new RaiseEvent(HandleIsSelectedProperty)); 533_objectIdClient.Add(SelectionItemPattern.ElementSelectedEvent, new RaiseEvent(HandleElementSelectedEvent)); 534_objectIdClient.Add(SelectionItemPattern.ElementAddedToSelectionEvent, new RaiseEvent(HandleElementAddedToSelectionEvent)); 535_objectIdClient.Add(SelectionItemPattern.ElementRemovedFromSelectionEvent, new RaiseEvent(HandleElementRemovedFromSelectionEvent));
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (4)
208MaybeFireSelectionItemEvent(SelectionItemPattern.ElementSelectedEvent, eventTable, hwnd, idObject, idChild); 212MaybeFireSelectionItemEvent(SelectionItemPattern.ElementAddedToSelectionEvent, eventTable, hwnd, idObject, idChild); 216MaybeFireSelectionItemEvent(SelectionItemPattern.ElementRemovedFromSelectionEvent, eventTable, hwnd, idObject, idChild); 279if (provider != null && provider.IsPatternSupported(SelectionItemPattern.Pattern))
MS\Internal\AutomationProxies\MSAANativeProvider.cs (2)
1312new CtrlTypePatterns(ControlType.ListItem, SelectionItemPattern.Pattern), 1315new CtrlTypePatterns(ControlType.RadioButton, SelectionItemPattern.Pattern),
MS\Internal\AutomationProxies\ProxyHwnd.cs (4)
388else if (idProp == SelectionItemPattern.IsSelectedProperty) 409if (idEvent == SelectionItemPattern.ElementSelectedEvent) 418else if (idEvent == SelectionItemPattern.ElementAddedToSelectionEvent) 429else if (idEvent == SelectionItemPattern.ElementRemovedFromSelectionEvent)
MS\Internal\AutomationProxies\WindowsButton.cs (3)
168if (idProp == SelectionItemPattern.ElementSelectedEvent) 173idProp = SelectionItemPattern.ElementRemovedFromSelectionEvent; 235else if (iid == SelectionItemPattern.Pattern && _type == ButtonType.RadioButton)
MS\Internal\AutomationProxies\WindowsListBox.cs (2)
480idProp = SelectionItemPattern.ElementSelectedEvent; 687if (iid == SelectionItemPattern.Pattern)
MS\Internal\AutomationProxies\WindowsListView.cs (2)
1855if (eventId == NativeMethods.EventObjectSelectionRemove && automationProperty == SelectionItemPattern.IsSelectedProperty) 1919idProp = SelectionItemPattern.ElementSelectedEvent;
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
69if (iid == SelectionItemPattern.Pattern)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1230else if (iid == SelectionItemPattern.Pattern && _type == MenuItemType.Command && IsRadioCheck())
MS\Internal\AutomationProxies\WindowsTab.cs (1)
930if(iid == SelectionItemPattern.Pattern)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
786if (iid == SelectionItemPattern.Pattern