Udostępnij za pośrednictwem


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(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class AutomationEvents
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum AutomationEvents
Public Enum AutomationEvents
Inheritance
AutomationEvents
Attributes

Fields

Name Value Description
ToolTipOpened 0

The event that is raised when a tooltip is opened.

ToolTipClosed 1

The event that is raised when a tooltip is closed.

MenuOpened 2

The event that is raised when a menu is opened.

MenuClosed 3

The event that is raised when a menu is closed.

AutomationFocusChanged 4

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

InvokePatternOnInvoked 5

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

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.

TextPatternOnTextSelectionChanged 10

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

TextPatternOnTextChanged 11

The event that is raised when textual content is modified.

AsyncContentLoaded 12

The event that is raised when content is loaded asynchronously.

PropertyChanged 13

The event that is raised when a property has changed.

StructureChanged 14

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

DragStart 15

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

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.

Dropped 20

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

LiveRegionChanged 21

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

InputReachedTarget 22

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

InputReachedOtherElement 23

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

InputDiscarded 24

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

WindowClosed 25

The event that is raised when a window is closed.

WindowOpened 26

The event that is raised when a window is opened.

ConversionTargetChanged 27

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

TextEditTextChanged 28

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

LayoutInvalidated 29

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

Applies to

See also