Specifies the event that is raised by the element through the associated AutomationPeer.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Enumeration AutomationEvents
public enum AutomationEvents
|ToolTipOpened||The event that is raised when a tooltip is opened.|
|ToolTipClosed||The event that is raised when a tooltip is closed.|
|MenuOpened||The event that is raised when a menu is opened. .|
|MenuClosed||The event that is raised when a menu is closed.|
|AutomationFocusChanged||The event that is raised when the focus has changed. See SetFocus.|
|InvokePatternOnInvoked||The event that is raised when a control is activated. See Invoke.|
|SelectionItemPatternOnElementAddedToSelection||The event that is raised when an item is added to a collection of selected items. See AddToSelection.|
|SelectionItemPatternOnElementRemovedFromSelection||The event that is raised when an item is removed from a collection of selected items. See RemoveFromSelection.|
|SelectionItemPatternOnElementSelected||The event that is raised when a single item is selected (which clears any previous selection). See Select.|
|SelectionPatternOnInvalidated||The event that is raised when a selection in a container has changed significantly.|
|TextPatternOnTextSelectionChanged||The event that is raised when the text selection is modified.|
|TextPatternOnTextChanged||The event that is raised when textual content is modified.|
|AsyncContentLoaded||The event that is raised when content is loaded asynchronously.|
|PropertyChanged||The event that is raised when a property has changed.|
|StructureChanged||The 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.
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.