共用方式為


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 方法以引發事件。

適用於

另請參閱