eventArgsType 枚举 (uiautomationcoreapi.h)

包含的值指定 由 UiaEventArgs 结构描述的事件类型。

语法

typedef enum EventArgsType {
  EventArgsType_Simple,
  EventArgsType_PropertyChanged,
  EventArgsType_StructureChanged,
  EventArgsType_AsyncContentLoaded,
  EventArgsType_WindowClosed,
  EventArgsType_TextEditTextChanged,
  EventArgsType_Changes,
  EventArgsType_Notification,
  EventArgsType_ActiveTextPositionChanged,
  EventArgsType_StructuredMarkup
} ;

常量

 
EventArgsType_Simple
一个简单事件,它不提供事件参数中的数据。
EventArgsType_PropertyChanged
通过调用 UiaRaiseAutomationPropertyChangedEvent 函数引发的事件。
EventArgsType_StructureChanged
通过调用 UiaRaiseStructureChangedEvent 函数引发的事件。
EventArgsType_AsyncContentLoaded
通过调用 UiaRaiseAsyncContentLoadedEvent 函数引发的事件。
EventArgsType_WindowClosed
关闭窗口时引发的事件。
EventArgsType_TextEditTextChanged
通过调用 UiaRaiseTextEditTextChangedEvent 函数引发的事件
EventArgsType_Changes
通过调用 UiaRaiseChangesEvent 函数引发的事件。
EventArgsType_Notification
通过调用 UiaRaiseNotificationEvent 函数引发的事件。
EventArgsType_ActiveTextPositionChanged
通过调用 UiaRaiseActiveTextPositionChangedEvent 函数引发的事件。

要求

要求
最低受支持的客户端 Windows XP [仅限桌面应用]
最低受支持的服务器 Windows Server 2003 [仅限桌面应用]
标头 uiautomationcoreapi.h (包括 UIAutomation.h)