通过


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 自动化提供程序使用此标识符。 UI 自动化客户端应用程序应使用 SelectionItemPattern 中的等效字段。

适用于

另请参阅