1 instantiation of SelectionItemPattern
UIAutomationClient (1)
System\Windows\Automation\SelectionItemPattern.cs (1)
205
return new
SelectionItemPattern
(el, hPattern, cached);
42 references to SelectionItemPattern
UIAutomationClient (6)
MS\Internal\Automation\Schema.cs (6)
346
new AutomationPropertyInfo( convertToBool,
SelectionItemPattern
.IsSelectedProperty, typeof(bool), false ),
347
new AutomationPropertyInfo( convertToElement,
SelectionItemPattern
.SelectionContainerProperty, typeof(AutomationElement), null ),
435
private static readonly AutomationProperty [ ] SelectionItemProperties = {
SelectionItemPattern
.IsSelectedProperty,
436
SelectionItemPattern
.SelectionContainerProperty};
463
new AutomationPatternInfo(
SelectionItemPattern
.Pattern, SelectionItemProperties, new WrapObjectClientSide(
SelectionItemPattern
.Wrap) ),
UIAutomationClientsideProviders (36)
MS\Internal\AutomationProxies\EventManager.cs (15)
217
ISelectionItemProvider selectionItem = el.GetPatternProvider(
SelectionItemPattern
.Pattern) as ISelectionItemProvider;
221
RaisePropertyChangedEvent(el,
SelectionItemPattern
.IsSelectedProperty, selectionItem.IsSelected);
374
ISelectionItemProvider selProvider = el.GetPatternProvider(
SelectionItemPattern
.Pattern) as ISelectionItemProvider;
381
AutomationInteropProvider.RaiseAutomationEvent(
SelectionItemPattern
.ElementSelectedEvent, el, new AutomationEventArgs(
SelectionItemPattern
.ElementSelectedEvent));
387
ISelectionItemProvider selProvider = el.GetPatternProvider(
SelectionItemPattern
.Pattern) as ISelectionItemProvider;
393
AutomationInteropProvider.RaiseAutomationEvent(
SelectionItemPattern
.ElementAddedToSelectionEvent, el, new AutomationEventArgs(
SelectionItemPattern
.ElementAddedToSelectionEvent));
399
ISelectionItemProvider selProvider = el.GetPatternProvider(
SelectionItemPattern
.Pattern) as ISelectionItemProvider;
405
AutomationInteropProvider.RaiseAutomationEvent(
SelectionItemPattern
.ElementRemovedFromSelectionEvent, el, new AutomationEventArgs(
SelectionItemPattern
.ElementRemovedFromSelectionEvent));
534
_objectIdClient.Add(
SelectionItemPattern
.IsSelectedProperty, new RaiseEvent(HandleIsSelectedProperty));
546
_objectIdClient.Add(
SelectionItemPattern
.ElementSelectedEvent, new RaiseEvent(HandleElementSelectedEvent));
547
_objectIdClient.Add(
SelectionItemPattern
.ElementAddedToSelectionEvent, new RaiseEvent(HandleElementAddedToSelectionEvent));
548
_objectIdClient.Add(
SelectionItemPattern
.ElementRemovedFromSelectionEvent, new RaiseEvent(HandleElementRemovedFromSelectionEvent));
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (4)
221
MaybeFireSelectionItemEvent(
SelectionItemPattern
.ElementSelectedEvent, eventTable, hwnd, idObject, idChild);
226
MaybeFireSelectionItemEvent(
SelectionItemPattern
.ElementAddedToSelectionEvent, eventTable, hwnd, idObject, idChild);
230
MaybeFireSelectionItemEvent(
SelectionItemPattern
.ElementRemovedFromSelectionEvent, eventTable, hwnd, idObject, idChild);
288
if (provider != null && provider.IsPatternSupported(
SelectionItemPattern
.Pattern))
MS\Internal\AutomationProxies\MSAANativeProvider.cs (2)
1341
new CtrlTypePatterns(ControlType.ListItem,
SelectionItemPattern
.Pattern),
1344
new CtrlTypePatterns(ControlType.RadioButton,
SelectionItemPattern
.Pattern),
MS\Internal\AutomationProxies\ProxyHwnd.cs (4)
404
else if (idProp ==
SelectionItemPattern
.IsSelectedProperty)
425
if (idEvent ==
SelectionItemPattern
.ElementSelectedEvent)
434
else if (idEvent ==
SelectionItemPattern
.ElementAddedToSelectionEvent)
445
else if (idEvent ==
SelectionItemPattern
.ElementRemovedFromSelectionEvent)
MS\Internal\AutomationProxies\WindowsButton.cs (3)
184
if (idProp ==
SelectionItemPattern
.ElementSelectedEvent)
189
idProp =
SelectionItemPattern
.ElementRemovedFromSelectionEvent;
251
else if (iid ==
SelectionItemPattern
.Pattern && _type == ButtonType.RadioButton)
MS\Internal\AutomationProxies\WindowsListBox.cs (2)
492
idProp =
SelectionItemPattern
.ElementSelectedEvent;
699
if (iid ==
SelectionItemPattern
.Pattern)
MS\Internal\AutomationProxies\WindowsListView.cs (2)
1864
if (eventId == NativeMethods.EventObjectSelectionRemove && automationProperty ==
SelectionItemPattern
.IsSelectedProperty)
1928
idProp =
SelectionItemPattern
.ElementSelectedEvent;
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
77
if (iid ==
SelectionItemPattern
.Pattern)
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1245
else if (iid ==
SelectionItemPattern
.Pattern && _type == MenuItemType.Command && IsRadioCheck())
MS\Internal\AutomationProxies\WindowsTab.cs (1)
930
if(iid ==
SelectionItemPattern
.Pattern)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
797
if (iid ==
SelectionItemPattern
.Pattern