ElementSelectedEvent Field
Collapse the table of content
Expand the table of content

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 initonly 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
Available since 3.0
Return to top
Show:
© 2016 Microsoft