UITechnologyElement Methods

Include Protected Members
Include Inherited Members

The UITechnologyElement type exposes the following members.

Methods

  Name Description
Public method CacheProperties Caches all the common properties of this element for future use.
Public method EnsureVisibleByScrolling Scrolls this element into view in the UI.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Equals(IUITechnologyElement) Returns a value that indicates whether the provided object is equal to this element.
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 GetBoundingRectangle Returns the coordinates of the rectangle that encloses this element.
Public method GetClickablePoint Gets a clickable point for this element.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetNativeControlType Returns the native control type of this element.
Public method GetOption Returns the specified option for this element.
Public method GetPropertyValue Returns the value of the specified property for this element.
Public method GetQueryIdForRelatedElement Returns the query ID for a related element.
Public method GetRequestedState Returns the current state information for the given requested states for this element.
Public method GetRightToLeftProperty Returns a value that indicates whether this element has the specified kind of left-to-right format.
Public method GetScrolledPercentage Returns the amount that is scrolled as a percentage of the size of the scrollbar.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeProgrammaticScroll Initializes this element for programmatic scrolling.
Public method InvokeProgrammaticAction Performs programmatic action by using the provided option.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ScrollProgrammatically Programmatically scrolls this element by using the provided direction and an indication of the amount.
Public method SetFocus Sets the UI focus on this element.
Public method SetOption Sets the value of the specified option in this element.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WaitForReady Waits for this element to be ready for user action.

Top

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace