Automation Class
.NET Framework 4.5
Contains methods and fields for UI Automation client applications.
Namespace: System.Windows.Automation
Assembly: UIAutomationClient (in UIAutomationClient.dll)
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. |
| Name | Description | |
|---|---|---|
![]() ![]() | ContentViewCondition | Represents a predefined view of the UI Automation tree that includes only UI Automation elements that can contain content. |
![]() ![]() | ControlViewCondition | Represents a predefined view of the UI Automation tree that includes only UI Automation elements that are controls. |
![]() ![]() | RawViewCondition | Represents a predefined view of the UI Automation tree that includes all UI Automation elements. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
