SelectionItemPatternIdentifiers.ElementAddedToSelectionEvent 欄位

定義

識別當項目加入選取的項目集合中時所引發的事件。

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 

欄位值

備註

如果呼叫的結果 AddToSelection 是單一選取的專案,則必須 ElementSelectedEvent 改為引發 。

UI 自動化提供者會使用此識別碼。 使用者介面自動化用戶端應用程式應該使用 中的 SelectionItemPattern 對等欄位。

適用於

另請參閱