Bewerken

Delen via


SelectionItemPatternIdentifiers.ElementAddedToSelectionEvent Field

Definition

Identifies the event raised when an item is added to a collection of selected items.

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

Field Value

Remarks

If the result of an AddToSelection call is a single selected item, then an ElementSelectedEvent must be raised instead.

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

Applies to

See also