AutomationElement Methods

AutomationElement Methods

 

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified AutomationElement has the same value as this AutomationElement.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Overrides Object.Finalize().)

System_CAPS_pubmethodFindAll(TreeScope, Condition)

Returns all AutomationElement objects that satisfy the specified condition.

System_CAPS_pubmethodFindFirst(TreeScope, Condition)

Returns the first child or descendant element that matches the specified condition.

System_CAPS_pubmethodSystem_CAPS_staticFromHandle(IntPtr)

Retrieves a new AutomationElement object for the user interface (UI) item referenced by the specified window handle.

System_CAPS_pubmethodSystem_CAPS_staticFromLocalProvider(IRawElementProviderSimple)

Retrieves a new AutomationElement object from a local IRawElementProviderSimple implementation.

System_CAPS_pubmethodSystem_CAPS_staticFromPoint(Point)

Retrieves a new AutomationElement object for the user interface (UI) item at specified point on the desktop.

System_CAPS_pubmethodGetCachedPattern(AutomationPattern)

Retrieves the specified pattern from the cache of this AutomationElement.

System_CAPS_pubmethodGetCachedPropertyValue(AutomationProperty)

Retrieves the value of the specified property from the cache of this AutomationElement. An appropriate default value for the property type is returned for properties not explicitly supported by the target user interface (UI) element.

System_CAPS_pubmethodGetCachedPropertyValue(AutomationProperty, Boolean)

Retrieves the value of the specified property from the cache of this AutomationElement, optionally ignoring any default property.

System_CAPS_pubmethodGetClickablePoint()

Retrieves a point on the AutomationElement that can be clicked.

System_CAPS_pubmethodGetCurrentPattern(AutomationPattern)

Retrieves the specified pattern object on this AutomationElement.

System_CAPS_pubmethodGetCurrentPropertyValue(AutomationProperty)

Retrieves the value of the specified property on this AutomationElement. An appropriate default value for the property type is returned for properties not explicitly supported by the target user interface (UI) element.

System_CAPS_pubmethodGetCurrentPropertyValue(AutomationProperty, Boolean)

Retrieves the value of the specified property on this AutomationElement, optionally ignoring any default property.

System_CAPS_pubmethodGetHashCode()

Retrieves the hash code for this AutomationElement.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetRuntimeId()

Retrieves the unique identifier assigned to the user interface (UI) item.

System_CAPS_pubmethodGetSupportedPatterns()

Retrieves the control patterns that this AutomationElement supports.

System_CAPS_pubmethodGetSupportedProperties()

Retrieves the identifiers of properties supported by the element.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetUpdatedCache(CacheRequest)

Retrieves a new AutomationElement with an updated cache.

System_CAPS_pubmethodSetFocus()

Sets focus on the AutomationElement.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTryGetCachedPattern(AutomationPattern, Object)

Retrieves a control pattern from the cache.

System_CAPS_pubmethodTryGetClickablePoint(Point)

Retrieves a point within the element that can be clicked.

System_CAPS_pubmethodTryGetCurrentPattern(AutomationPattern, Object)

Retrieves an object that implements a control pattern.

Return to top
Show:
© 2016 Microsoft