AutomationEvents Enum

Definition

Specifies the event that is raised by the element through the associated AutomationPeer. Used by RaiseAutomationEvent.

public enum class AutomationEvents
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AutomationEvents
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AutomationEvents
Public Enum AutomationEvents
Inheritance
AutomationEvents
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

AsyncContentLoaded 12

The event that is raised when content is loaded asynchronously.

AutomationFocusChanged 4

The event that is raised when the focus has changed. See SetFocus.

ConversionTargetChanged 27

The event that is raised when the conversion target has changed.

DragCancel 16

The event that is raised when a drag operation is canceled from a peer.

DragComplete 17

The event that is raised when a drag operation finishes from a peer.

DragEnter 18

The event that is raised when a drag operation targets a peer.

DragLeave 19

The event that is raised when a drag operation switches targets away from a peer.

DragStart 15

The event that is raised when a drag operation originates from a peer.

Dropped 20

The event that is raised when a drag operation drops on a peer.

InputDiscarded 24

The event that is raised when user input has been discarded.

InputReachedOtherElement 23

The event that is raised when user input has reached the other element.

InputReachedTarget 22

The event that is raised when user input has reached its target.

InvokePatternOnInvoked 5

The event that is raised when a control is activated. See Invoke.

LayoutInvalidated 29

The event that is raised when the window layout has become invalidated. This event is also used for Auto-suggest accessibility.

LiveRegionChanged 21

The event that is raised as notification when a live region refreshes its content without having focus.

MenuClosed 3

The event that is raised when a menu is closed.

MenuOpened 2

The event that is raised when a menu is opened.

PropertyChanged 13

The event that is raised when a property has changed.

SelectionItemPatternOnElementAddedToSelection 6

The event that is raised when an item is added to a collection of selected items. See AddToSelection.

SelectionItemPatternOnElementRemovedFromSelection 7

The event that is raised when an item is removed from a collection of selected items. See RemoveFromSelection.

SelectionItemPatternOnElementSelected 8

The event that is raised when a single item is selected (which clears any previous selection). See Select.

SelectionPatternOnInvalidated 9

The event that is raised when a selection in a container has changed significantly.

StructureChanged 14

The event that is raised when the UI Automation tree structure is changed.

TextEditTextChanged 28

The event that is raised when the text was changed in an edit control.

TextPatternOnTextChanged 11

The event that is raised when textual content is modified.

TextPatternOnTextSelectionChanged 10

The event that is raised when the text selection is modified.

ToolTipClosed 1

The event that is raised when a tooltip is closed.

ToolTipOpened 0

The event that is raised when a tooltip is opened.

WindowClosed 25

The event that is raised when a window is closed.

WindowOpened 26

The event that is raised when a window is opened.

Remarks

Version history

Windows version SDK version Value added
1607 14393 LayoutInvalidated

Applies to

See also