SelectionItemPatternIdentifiers.ElementAddedToSelectionEvent Fält

Definition

Identifierar händelsen som utlöses när ett objekt läggs till i en samling markerade objekt.

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 

Fältvärde

Kommentarer

Om resultatet av ett AddToSelection anrop är ett enskilt markerat objekt måste ett ElementSelectedEvent aktiveras i stället.

Den här identifieraren används av UI Automation providrar. UI Automation klientprogram bör använda motsvarande fält i SelectionItemPattern.

Gäller för

Se även