Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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("42354E19-8C70-45BD-8A19-3F680BF5534B")]
[ComVisibleAttribute(true)]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IUITechnologyElement

NameDescription
System_CAPS_pubpropertyChildIndex

Gets the zero-based position of this element in the collection of child elements in the parent element.

System_CAPS_pubpropertyClassName

Gets the class name for this element.

System_CAPS_pubpropertyControlTypeName

Gets the name of the control type for this element.

System_CAPS_pubpropertyFriendlyName

Gets the friendly name of this element.

System_CAPS_pubpropertyIsLeafNode

Gets a value that indicates whether this element is a leaf node, which means it has no children.

System_CAPS_pubpropertyIsPassword

Gets a value that indicates whether this element contains protected content.

System_CAPS_pubpropertyIsTreeSwitchingRequired

Gets a value that indicates whether tree switching is required for windowless tree switching cases.

System_CAPS_pubpropertyName

Gets the name of this element.

System_CAPS_pubpropertyNativeElement

Gets the underlying native technology element.

System_CAPS_pubpropertyQueryId

Gets an identifier object that can be used to uniquely identify and find this element.

System_CAPS_pubpropertySwitchingElement

Gets or sets the container element if this element is hosted inside an element of another technology.

System_CAPS_pubpropertyTechnologyName

Gets the name of the corresponding technology of this element.

System_CAPS_pubpropertyValue

Gets or sets the value of this element as a string.

System_CAPS_pubpropertyWindowHandle

Gets the handle to the Win32 window that contains this element.

NameDescription
System_CAPS_pubmethodEnsureVisibleByScrolling(Int32, Int32, Int32, Int32)

Scrolls this element into view in the UI.

System_CAPS_pubmethodEquals(IUITechnologyElement)

Returns a value that indicates whether the provided object is equal to this element.

System_CAPS_pubmethodGetBoundingRectangle(Int32, Int32, Int32, Int32)

Returns the coordinates of the rectangle that encloses this element.

System_CAPS_pubmethodGetClickablePoint(Int32, Int32)

Gets a clickable point for this element.

System_CAPS_pubmethodGetNativeControlType(NativeControlTypeKind)

Returns the native control type of this element.

System_CAPS_pubmethodGetOption(UITechnologyElementOption)

Returns the specified option for this element.

System_CAPS_pubmethodGetPropertyValue(String)

Returns the value of the specified property for this element.

System_CAPS_pubmethodGetQueryIdForRelatedElement(UITestElementKind, Object, Int32)

System_CAPS_pubmethodGetRequestedState(AccessibleStates)

Returns the current state information for the given requested states for this element.

System_CAPS_pubmethodGetRightToLeftProperty(RightToLeftKind)

Returns a value that indicates whether this element has the specified kind of left-to-right format.

System_CAPS_pubmethodGetScrolledPercentage(ScrollDirection, IUITechnologyElement)

Returns the amount that is scrolled as a percentage of the size of the scrollbar.

System_CAPS_pubmethodInitializeProgrammaticScroll()

Initializes this element for programmatic scrolling.

System_CAPS_pubmethodInvokeProgrammaticAction(ProgrammaticActionOption)

Performs programmatic action by using the provided option.

System_CAPS_pubmethodScrollProgrammatically(ScrollDirection, ScrollAmount)

System_CAPS_pubmethodSetFocus()

Sets the UI focus on this element.

System_CAPS_pubmethodSetOption(UITechnologyElementOption, Object)

Sets the value of the specified option in this element.

System_CAPS_pubmethodWaitForReady()

Waits for this element to be ready for user action.

Return to top
Show: