Provides an internal interface to implement the UITechnologyElement class. Do not implement this interface directly. Instead, derive from the UITechnologyElement class.
Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
<GuidAttribute("1FED2CD2-C6B1-4AF3-91D8-BC8B1CC388C0")> _
<ComVisibleAttribute(True)> _
Public Interface IUITechnologyElement
[GuidAttribute("1FED2CD2-C6B1-4AF3-91D8-BC8B1CC388C0")]
[ComVisibleAttribute(true)]
public interface IUITechnologyElement
[GuidAttribute(L"1FED2CD2-C6B1-4AF3-91D8-BC8B1CC388C0")]
[ComVisibleAttribute(true)]
public interface class IUITechnologyElement
[<GuidAttribute("1FED2CD2-C6B1-4AF3-91D8-BC8B1CC388C0")>]
[<ComVisibleAttribute(true)>]
type IUITechnologyElement =  interface end
public interface IUITechnologyElement
The IUITechnologyElement type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | ChildIndex | Gets the zero-based position of this element in the collection of child elements in the parent element. | 
| .gif) | ClassName | Gets the class name for this element. | 
| .gif) | ControlTypeName | Gets the name of the control type for this element. | 
| .gif) | FriendlyName | Gets the friendly name of this element. | 
| .gif) | IsLeafNode | Gets a value that indicates whether this element is a leaf node, which means it has no children. | 
| .gif) | IsPassword | Gets a value that indicates whether this element contains protected content. | 
| .gif) | IsTreeSwitchingRequired | Gets a value that indicates whether tree switching is required for windowless tree switching cases. | 
| .gif) | Name | Gets the name of this element. | 
| .gif) | NativeElement | Gets the underlying native technology element. | 
| .gif) | QueryId | Gets an identifier object that can be used to uniquely identify and find this element. | 
| .gif) | SwitchingElement | Gets or sets the container element if this element is hosted inside an element of another technology. | 
| .gif) | TechnologyName | Gets the name of the corresponding technology of this element. | 
| .gif) | Value | Gets or sets the value of this element as a string. | 
| .gif) | WindowHandle | Gets the handle to the Win32 window that contains this element. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | EnsureVisibleByScrolling | Scrolls this element into view in the UI. | 
| .gif) | Equals | Returns a value that indicates whether the provided object is equal to this element. | 
| .gif) | GetBoundingRectangle | Returns the coordinates of the rectangle that encloses this element. | 
| .gif) | GetClickablePoint | Gets a clickable point for this element. | 
| .gif) | GetNativeControlType | Returns the native control type of this element. | 
| .gif) | GetOption | Returns the specified option for this element. | 
| .gif) | GetPropertyValue | Returns the value of the specified property for this element. | 
| .gif) | GetQueryIdForRelatedElement | |
| .gif) | GetRequestedState | Returns the current state information for the given requested states for this element. | 
| .gif) | GetRightToLeftProperty | Returns a value that indicates whether this element has the specified kind of left-to-right format. | 
| .gif) | GetScrolledPercentage | Returns the amount that is scrolled as a percentage of the size of the scrollbar. | 
| .gif) | InitializeProgrammaticScroll | Initializes this element for programmatic scrolling. | 
| .gif) | InvokeProgrammaticAction | Performs programmatic action by using the provided option. | 
| .gif) | ScrollProgrammatically | |
| .gif) | SetFocus | Sets the UI focus on this element. | 
| .gif) | SetOption | Sets the value of the specified option in this element. | 
| .gif) | WaitForReady | Waits for this element to be ready for user action. | 
Top
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Extension Namespace
Other Resources
Extending Coded UI Tests and Action Recordings to Support Microsoft Excel