SelectionItemPatternIdentifiers.ElementRemovedFromSelectionEvent 欄位

定義

識別從選取的項目集合中移除項目時所引發的事件。

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

欄位值

備註

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

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

適用於

另請參閱