SelectionItemPatternIdentifiers.ElementSelectedEvent Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

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