Automation Methods
.NET Framework 4.5
The Automation type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddAutomationEventHandler | Registers a method that handles UI Automation events. |
|
AddAutomationFocusChangedEventHandler | Registers a method that will handle focus-changed events. |
|
AddAutomationPropertyChangedEventHandler | Registers a method that will handle property-changed events. |
|
AddStructureChangedEventHandler | Registers the method that will handle structure-changed events. |
|
Compare(AutomationElement, AutomationElement) | Compares two UI Automation elements, returning true if both refer to the same UI element. |
|
Compare(Int32[], Int32[]) | Compares two integer arrays containing run-time identifiers (IDs) to determine whether their content is the same. |
|
PatternName | Retrieves the name of the specified control pattern. |
|
PropertyName | Retrieves the name of the specified UI Automation property. |
|
RemoveAllEventHandlers | Removes all registered UI Automation event handlers. |
|
RemoveAutomationEventHandler | Removes the specified UI Automation event handler. |
|
RemoveAutomationFocusChangedEventHandler | Removes the specified focus-changed event handler. |
|
RemoveAutomationPropertyChangedEventHandler | Removes the specified property-changed event handler. |
|
RemoveStructureChangedEventHandler | Removes the specified structure-changed event handler. |