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