Export (0) Print
Expand All

IUITechnologyElement Interface

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)

[GuidAttribute("23C9A4B1-0F74-41e1-8AA8-D505C32DB17E")]
[ComVisibleAttribute(true)]
public interface IUITechnologyElement

The IUITechnologyElement type exposes the following members.

  NameDescription
Public propertyChildIndexGets the zero-based position of this element in the collection of child elements in the parent element.
Public propertyClassNameGets the class name for this element.
Public propertyControlTypeNameGets the name of the control type for this element.
Public propertyFriendlyNameGets the friendly name of this element.
Public propertyIsLeafNodeGets a value that indicates whether this element is a leaf node, which means it has no children.
Public propertyIsPasswordGets a value that indicates whether this element contains protected content.
Public propertyIsTreeSwitchingRequiredGets a value that indicates whether tree switching is required for windowless tree switching cases.
Public propertyNameGets the name of this element.
Public propertyNativeElementGets the underlying native technology element.
Public propertyQueryIdGets an identifier object that can be used to uniquely identify and find this element.
Public propertySwitchingElementGets or sets the container element if this element is hosted inside an element of another technology.
Public propertyTechnologyNameGets the name of the corresponding technology of this element.
Public propertyValueGets or sets the value of this element as a string.
Public propertyWindowHandleGets the handle to the Win32 window that contains this element.
Top

  NameDescription
Public methodEnsureVisibleByScrollingScrolls this element into view in the UI.
Public methodEqualsReturns a value that indicates whether the provided object is equal to this element.
Public methodGetBoundingRectangleReturns the coordinates of the rectangle that encloses this element.
Public methodGetClickablePointGets a clickable point for this element.
Public methodGetNativeControlTypeReturns the native control type of this element.
Public methodGetOptionReturns the specified option for this element.
Public methodGetPropertyValueReturns the value of the specified property for this element.
Public methodGetQueryIdForRelatedElement
Public methodGetRequestedStateReturns the current state information for the given requested states for this element.
Public methodGetRightToLeftPropertyReturns a value that indicates whether this element has the specified kind of left-to-right format.
Public methodGetScrolledPercentageReturns the amount that is scrolled as a percentage of the size of the scrollbar.
Public methodInitializeProgrammaticScrollInitializes this element for programmatic scrolling.
Public methodInvokeProgrammaticActionPerforms programmatic action by using the provided option.
Public methodScrollProgrammatically
Public methodSetFocusSets the UI focus on this element.
Public methodSetOptionSets the value of the specified option in this element.
Public methodWaitForReadyWaits for this element to be ready for user action.
Top

Community Additions

ADD
Show:
© 2014 Microsoft