Automation Methods

Automation Methods

 

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddAutomationEventHandler(AutomationEvent, AutomationElement, TreeScope, AutomationEventHandler)

Registers a method that handles UI Automation events.

System_CAPS_pubmethodSystem_CAPS_staticAddAutomationFocusChangedEventHandler(AutomationFocusChangedEventHandler)

Registers a method that will handle focus-changed events.

System_CAPS_pubmethodSystem_CAPS_staticAddAutomationPropertyChangedEventHandler(AutomationElement, TreeScope, AutomationPropertyChangedEventHandler, AutomationProperty[])

Registers a method that will handle property-changed events.

System_CAPS_pubmethodSystem_CAPS_staticAddStructureChangedEventHandler(AutomationElement, TreeScope, StructureChangedEventHandler)

Registers the method that will handle structure-changed events.

System_CAPS_pubmethodSystem_CAPS_staticCompare(AutomationElement, AutomationElement)

Compares two UI Automation elements, returning true if both refer to the same UI element.

System_CAPS_pubmethodSystem_CAPS_staticCompare(Int32[], Int32[])

Compares two integer arrays containing run-time identifiers (IDs) to determine whether their content is the same.

System_CAPS_pubmethodSystem_CAPS_staticPatternName(AutomationPattern)

Retrieves the name of the specified control pattern.

System_CAPS_pubmethodSystem_CAPS_staticPropertyName(AutomationProperty)

Retrieves the name of the specified UI Automation property.

System_CAPS_pubmethodSystem_CAPS_staticRemoveAllEventHandlers()

Removes all registered UI Automation event handlers.

System_CAPS_pubmethodSystem_CAPS_staticRemoveAutomationEventHandler(AutomationEvent, AutomationElement, AutomationEventHandler)

Removes the specified UI Automation event handler.

System_CAPS_pubmethodSystem_CAPS_staticRemoveAutomationFocusChangedEventHandler(AutomationFocusChangedEventHandler)

Removes the specified focus-changed event handler.

System_CAPS_pubmethodSystem_CAPS_staticRemoveAutomationPropertyChangedEventHandler(AutomationElement, AutomationPropertyChangedEventHandler)

Removes the specified property-changed event handler.

System_CAPS_pubmethodSystem_CAPS_staticRemoveStructureChangedEventHandler(AutomationElement, StructureChangedEventHandler)

Removes the specified structure-changed event handler.

Return to top
Show:
© 2016 Microsoft