SelectionItemPatternIdentifiers.ElementSelectedEvent Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

static val ElementSelectedEvent : AutomationEvent

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