SelectionItemPatternIdentifiers.ElementSelectedEvent Field

Identifies the event that is raised when a single item is selected (causing all previously selected items to become deselected).

Namespace:  System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

public static readonly AutomationEvent ElementSelectedEvent

If the result of either an AddToSelection or a RemoveFromSelection call is more than one selected item, then an ElementAddedToSelectionEvent or ElementRemovedFromSelectionEvent event is raised.

This identifier is used by UI Automation providers. UI Automation client applications should use the equivalent field in SelectionItemPattern.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft