AutomationEvents 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定由元素通过关联的 AutomationPeer 引发的事件。
public enum class AutomationEvents
public enum AutomationEvents
type AutomationEvents =
Public Enum AutomationEvents
- 继承
字段
| 名称 | 值 | 说明 |
|---|---|---|
| ActiveTextPositionChanged | 20 | |
| AsyncContentLoaded | 12 | |
| AutomationFocusChanged | 4 | |
| InputDiscarded | 17 | |
| InputReachedOtherElement | 16 | |
| InputReachedTarget | 15 | |
| InvokePatternOnInvoked | 5 | |
| LiveRegionChanged | 18 | LiveRegionChangedEvent. 从 .NET Framework 4.7.1 开始可用。 |
| MenuClosed | 3 | |
| MenuOpened | 2 | |
| Notification | 19 | |
| PropertyChanged | 13 | 用于发出通知,通知属性已更改。 |
| SelectionItemPatternOnElementAddedToSelection | 6 | |
| SelectionItemPatternOnElementRemovedFromSelection | 7 | |
| SelectionItemPatternOnElementSelected | 8 | |
| SelectionPatternOnInvalidated | 9 | |
| StructureChanged | 14 | |
| TextPatternOnTextChanged | 11 | |
| TextPatternOnTextSelectionChanged | 10 | |
| ToolTipClosed | 1 | |
| ToolTipOpened | 0 |
注解
此标识符将 RaiseAutomationEvent 传递给 方法以引发事件。