通过


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

适用于

另请参阅