AutomationEvents 枚举

定义

指定由元素通过关联的 AutomationPeer 引发的事件。

public enum class AutomationEvents
public enum AutomationEvents
type AutomationEvents = 
Public Enum AutomationEvents
继承
AutomationEvents

字段

ActiveTextPositionChanged 20
AsyncContentLoaded 12

AsyncContentLoadedEvent

AutomationFocusChanged 4

AutomationFocusChangedEvent

InputDiscarded 17

InputDiscardedEvent

InputReachedOtherElement 16

InputReachedOtherElementEvent

InputReachedTarget 15

InputReachedTargetEvent

InvokePatternOnInvoked 5

InvokedEvent

LiveRegionChanged 18

LiveRegionChangedEvent. 从 .NET Framework 4.7.1 开始可用。

MenuClosed 3

MenuClosedEvent

MenuOpened 2

MenuOpenedEvent

Notification 19
PropertyChanged 13

用于发出通知,通知属性已更改。

SelectionItemPatternOnElementAddedToSelection 6

ElementAddedToSelectionEvent

SelectionItemPatternOnElementRemovedFromSelection 7

ElementRemovedFromSelectionEvent

SelectionItemPatternOnElementSelected 8

ElementSelectedEvent

SelectionPatternOnInvalidated 9

InvalidatedEvent

StructureChanged 14

StructureChangedEvent

TextPatternOnTextChanged 11

TextChangedEvent

TextPatternOnTextSelectionChanged 10

TextSelectionChangedEvent

ToolTipClosed 1

ToolTipClosedEvent

ToolTipOpened 0

ToolTipOpenedEvent

注解

此标识符将 RaiseAutomationEvent 传递给 方法以引发事件。

适用于

另请参阅