Export (0) Print
Expand All

AutomationElement Members

Represents a UI Automation element in the UI Automation tree, and contains values used as identifiers by UI Automation client applications.

The AutomationElement type exposes the following members.

  NameDescription
Public method Equals Determines whether the specified AutomationElement has the same value as this AutomationElement. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindAll Returns all AutomationElement objects that satisfy the specified condition.
Public method FindFirst Returns the first child or descendant element that matches the specified condition.
Public method Static member FromHandle Retrieves a new AutomationElement object for the user interface (UI) item referenced by the specified window handle.
Public method Static member FromLocalProvider Retrieves a new AutomationElement object from a local IRawElementProviderSimple implementation.
Public method Static member FromPoint Retrieves a new AutomationElement object for the user interface (UI) item at specified point on the desktop.
Public method GetCachedPattern Retrieves the specified pattern from the cache of this AutomationElement.
Public method GetCachedPropertyValue Overloaded. Retrieves the cached value of the specified property from an AutomationElement.
Public method GetClickablePoint Retrieves a point on the AutomationElement that can be clicked.
Public method GetCurrentPattern Retrieves the specified pattern object on this AutomationElement.
Public method GetCurrentPropertyValue Overloaded. Retrieves the current value of the specified property from an AutomationElement.
Public method GetHashCode Retrieves the hash code for this AutomationElement. (Overrides Object.GetHashCode().)
Public method GetRuntimeId Retrieves the unique identifier assigned to the user interface (UI) item.
Public method GetSupportedPatterns Retrieves the control patterns that this AutomationElement supports.
Public method GetSupportedProperties Retrieves the identifiers of properties supported by the element.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method GetUpdatedCache Retrieves a new AutomationElement with an updated cache.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetFocus Sets focus on the AutomationElement.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetCachedPattern Retrieves a control pattern from the cache.
Public method TryGetClickablePoint Retrieves a point within the element that can be clicked.
Public method TryGetCurrentPattern Retrieves an object that implements a control pattern.
Top

  NameDescription
Public operator Static member Equality Returns a value indicating whether the specified AutomationElement objects refer to the same user interface (UI) element.
Public operator Static member Inequality Returns a value indicating whether the specified AutomationElement objects refer to different user interface (UI) elements.
Top

  NameDescription
Public field Static member AcceleratorKeyProperty Identifies the AcceleratorKey property.
Public field Static member AccessKeyProperty Identifies the AccessKey property.
Public field Static member AsyncContentLoadedEvent Identifies an event raised during asynchronous content-loading.
Public field Static member AutomationFocusChangedEvent Identifies an event that is raised when the focus has changed.
Public field Static member AutomationIdProperty Identifies the AutomationId property, which is used to identify elements.
Public field Static member AutomationPropertyChangedEvent Identifies a property-changed event.
Public field Static member BoundingRectangleProperty Identifies the BoundingRectangle property.
Public field Static member ClassNameProperty Identifies the ClassName property.
Public field Static member ClickablePointProperty Identifies the clickable point property.
Public field Static member ControlTypeProperty Identifies the ControlType property.
Public field Static member CultureProperty Identifies the culture property.
Public field Static member FrameworkIdProperty Identifies the FrameworkId property.
Public field Static member HasKeyboardFocusProperty Identifies the HasKeyboardFocus property.
Public field Static member HelpTextProperty Identifies the HelpText property.
Public field Static member IsContentElementProperty Identifies the IsContentElement property.
Public field Static member IsControlElementProperty Identifies the IsControlElement property.
Public field Static member IsDockPatternAvailableProperty Identifies the property that indicates whether the DockPattern control pattern is available on this AutomationElement.
Public field Static member IsEnabledProperty Identifies the IsEnabled property, which specifies whether the user interface (UI) item referenced by the AutomationElement is enabled.
Public field Static member IsExpandCollapsePatternAvailableProperty Identifies the property that indicates whether the ExpandCollapsePattern control pattern is available on this AutomationElement.
Public field Static member IsGridItemPatternAvailableProperty Identifies the property that indicates whether the GridItemPattern control pattern is available on this AutomationElement.
Public field Static member IsGridPatternAvailableProperty Identifies the property that indicates whether the GridPattern control pattern is available on this AutomationElement.
Public field Static member IsInvokePatternAvailableProperty Identifies the property that indicates whether the InvokePattern control pattern is available on this AutomationElement.
Public field Static member IsKeyboardFocusableProperty Identifies the IsKeyboardFocusable property.
Public field Static member IsMultipleViewPatternAvailableProperty Identifies the property that indicates whether the MultipleViewPattern control pattern is available on this AutomationElement.
Public field Static member IsOffscreenProperty Identifies the IsOffscreen property, which indicates whether the user interface (UI) item is visible on the screen. 
Public field Static member IsPasswordProperty Identifies the IsPassword property.
Public field Static member IsRangeValuePatternAvailableProperty Identifies the property that indicates whether the RangeValuePattern control pattern is available on this AutomationElement.
Public field Static member IsRequiredForFormProperty Identifies the IsRequiredForForm property.
Public field Static member IsScrollItemPatternAvailableProperty Identifies the property that indicates whether the ScrollItemPattern control pattern is available for this AutomationElement.
Public field Static member IsScrollPatternAvailableProperty Identifies the property that indicates whether the ScrollPattern control pattern is available on this AutomationElement.
Public field Static member IsSelectionItemPatternAvailableProperty Identifies the property that indicates whether the SelectionItemPattern control pattern is available on this AutomationElement.
Public field Static member IsSelectionPatternAvailableProperty Identifies the property that indicates whether the SelectionPattern control pattern is available on this AutomationElement.
Public field Static member IsTableItemPatternAvailableProperty Identifies the property that indicates whether the TableItemPattern control pattern is available on this AutomationElement.
Public field Static member IsTablePatternAvailableProperty Identifies the property that indicates whether the TablePattern control pattern is available on this AutomationElement.
Public field Static member IsTextPatternAvailableProperty Identifies the property that indicates whether the TextPattern control pattern is available on this AutomationElement.
Public field Static member IsTogglePatternAvailableProperty Identifies the property that indicates whether the TogglePattern control pattern is available on this AutomationElement.
Public field Static member IsTransformPatternAvailableProperty Identifies the property that indicates whether the TransformPattern control pattern is available on this AutomationElement.
Public field Static member IsValuePatternAvailableProperty Identifies the property that indicates whether the ValuePattern control pattern is available on this AutomationElement.
Public field Static member IsWindowPatternAvailableProperty Identifies the property that indicates whether the WindowPattern control pattern is available on this AutomationElement.
Public field Static member ItemStatusProperty Identifies the ItemStatus property, which specifies the status of the visual representation of a complex item.
Public field Static member ItemTypeProperty Identifies the ItemType property.
Public field Static member LabeledByProperty Identifies the LabeledBy property, which identifies the label associated with a control.
Public field Static member LayoutInvalidatedEvent Identifies the event that is raised when the layout is invalidated.
Public field Static member LocalizedControlTypeProperty Identifies the LocalizedControlType property in the local language.
Public field Static member MenuClosedEvent Identifies the event that is raised when a menu is closed.
Public field Static member MenuOpenedEvent Identifies the event that is raised when a menu is opened.
Public field Static member NameProperty Identifies the Name property.
Public field Static member NativeWindowHandleProperty Identifies the NativeWindowHandle property.
Public field Static member NotSupported Indicates that a property is not supported.
Public field Static member OrientationProperty Identifies the Orientation property.
Public field Static member ProcessIdProperty Identifies the ProcessId property.
Public field Static member RuntimeIdProperty Identifies the property that contains the runtime identifier of the element.
Public field Static member StructureChangedEvent Identifies the event that is raised when the UI Automation tree structure is changed.
Public field Static member ToolTipClosedEvent Identifies the event that is raised when a tooltip is closed.
Public field Static member ToolTipOpenedEvent Identifies the event that is raised when a tooltip is opened.
Top

  NameDescription
Public property Cached Gets the cached UI Automation property values for this AutomationElement object.
Public property CachedChildren Gets the cached child elements of this AutomationElement.
Public property CachedParent Gets the cached parent of this AutomationElement.
Public property Current Gets the current property values of the AutomationElement.
Public property Static member FocusedElement Gets the AutomationElement that currently has focus.
Public property Static member RootElement Gets the root AutomationElement for the current desktop.
Top

Community Additions

ADD
Show:
© 2015 Microsoft