AutomationEvents enumeration

Applies to Windows and Windows Phone

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

Syntax


public enum class AutomationEvents

Attributes

[Version(0x06020000)]
[WebHostHidden()]

Members

The AutomationEvents enumeration has these members.

MemberValueDescription
ToolTipOpened0

The event that is raised when a tooltip is opened.

ToolTipClosed1

The event that is raised when a tooltip is closed.

MenuOpened2

The event that is raised when a menu is opened.

MenuClosed3

The event that is raised when a menu is closed.

AutomationFocusChanged4

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

InvokePatternOnInvoked5

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

SelectionItemPatternOnElementAddedToSelection6

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

SelectionItemPatternOnElementRemovedFromSelection7

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

SelectionItemPatternOnElementSelected8

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

SelectionPatternOnInvalidated9

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

TextPatternOnTextSelectionChanged10

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

TextPatternOnTextChanged11

The event that is raised when textual content is modified.

AsyncContentLoaded12

The event that is raised when content is loaded asynchronously.

PropertyChanged13

The event that is raised when a property has changed.

StructureChanged14

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

DragStart15

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

DragCancel16

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

DragComplete17

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

DragEnter18

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

DragLeave19

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

Dropped20

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

LiveRegionChanged21

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

Metadata

Windows.winmd

See also

RaiseAutomationEvent
Custom automation peers

 

 

Show:
© 2014 Microsoft