Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

AutomationEvents Enumeration

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

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows (in System.Windows.dll)
public enum AutomationEvents
Member nameDescription
Supported by Silverlight for Windows PhoneToolTipOpenedThe event that is raised when a tooltip is opened.
Supported by Silverlight for Windows PhoneToolTipClosedThe event that is raised when a tooltip is closed.
Supported by Silverlight for Windows PhoneMenuOpenedThe event that is raised when a menu is opened. .
Supported by Silverlight for Windows PhoneMenuClosedThe event that is raised when a menu is closed.
Supported by Silverlight for Windows PhoneAutomationFocusChangedThe event that is raised when the focus has changed. See SetFocus.
Supported by Silverlight for Windows PhoneInvokePatternOnInvokedThe event that is raised when a control is activated. See Invoke.
Supported by Silverlight for Windows PhoneSelectionItemPatternOnElementAddedToSelectionThe event that is raised when an item is added to a collection of selected items. See AddToSelection.
Supported by Silverlight for Windows PhoneSelectionItemPatternOnElementRemovedFromSelectionThe event that is raised when an item is removed from a collection of selected items. See RemoveFromSelection.
Supported by Silverlight for Windows PhoneSelectionItemPatternOnElementSelectedThe event that is raised when a single item is selected (which clears any previous selection). See Select.
Supported by Silverlight for Windows PhoneSelectionPatternOnInvalidatedThe event that is raised when a selection in a container has changed significantly.
Supported by Silverlight for Windows PhoneTextPatternOnTextSelectionChangedThe event that is raised when the text selection is modified.
Supported by Silverlight for Windows PhoneTextPatternOnTextChangedThe event that is raised when textual content is modified.
Supported by Silverlight for Windows PhoneAsyncContentLoadedThe event that is raised when content is loaded asynchronously.
Supported by Silverlight for Windows PhonePropertyChangedThe event that is raised when a property has changed.
Supported by Silverlight for Windows PhoneStructureChangedThe event that is raised when the UI Automation tree structure is changed.

This identifier is passed to the RaiseAutomationEvent method to raise an event.

Handling an automation event including its specific automation event arguments is not enabled within the Silverlight 5 core API. Handling the event requires that the handler be part of a UI automation client, and the infrastructure for implementing a UI automation client is tied to the UIAutomationClient.dll assembly that is part of Microsoft Windows rather than being a part of the Silverlight libraries. Raising an automation event from the set that is identified by AutomationEvents does not require you to package event data; any required event data is provided by the UI automation infrastructure when it reports the event to UI automation clients.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.