Muokkaa

Jaa


SelectionItemPatternIdentifiers.ElementSelectedEvent Field

Definition

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

public: static initonly System::Windows::Automation::AutomationEvent ^ ElementSelectedEvent;
public static readonly System.Windows.Automation.AutomationEvent ElementSelectedEvent;
 staticval mutable ElementSelectedEvent : System.Windows.Automation.AutomationEvent
Public Shared ReadOnly ElementSelectedEvent As AutomationEvent 

Field Value

Remarks

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.

Applies to

See also