IUITechnologyElement Interface

Definition

Provides an internal interface to implement the UITechnologyElement class. Do not implement this interface directly. Instead, derive from the UITechnologyElement class.

public interface class IUITechnologyElement
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("E235A067-FA97-4C38-9FA6-453D10B018A1")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IUITechnologyElement
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("8864A51C-831D-44A3-814E-12B67A38B51F")]
public interface IUITechnologyElement
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("E235A067-FA97-4C38-9FA6-453D10B018A1")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IUITechnologyElement = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("8864A51C-831D-44A3-814E-12B67A38B51F")>]
type IUITechnologyElement = interface
Public Interface IUITechnologyElement
Derived
Attributes

Properties

ChildIndex

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

ClassName

Gets the class name for this element.

ControlTypeName

Gets the name of the control type for this element.

FriendlyName

Gets the friendly name of this element.

IsLeafNode

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

IsPassword

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

IsTreeSwitchingRequired

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

Name

Gets the name of this element.

NativeElement

Gets the underlying native technology element.

QueryId

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

SwitchingElement

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

TechnologyName

Gets the name of the corresponding technology of this element.

Value

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

WindowHandle

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

Methods

EnsureVisibleByScrolling(Int32, Int32, Int32, Int32)

Scrolls this element into view in the UI.

Equals(IUITechnologyElement)

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

GetBoundingRectangle(Int32, Int32, Int32, Int32)

Returns the coordinates of the rectangle that encloses this element.

GetClickablePoint(Int32, Int32)

Gets a clickable point for this element.

GetNativeControlType(NativeControlTypeKind)

Returns the native control type of this element.

GetOption(UITechnologyElementOption)

Returns the specified option for this element.

GetPropertyValue(String)

Returns the value of the specified property for this element.

GetQueryIdForRelatedElement(UITestElementKind, Object, Int32)
GetRequestedState(AccessibleStates)

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

GetRightToLeftProperty(RightToLeftKind)

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

GetScrolledPercentage(ScrollDirection, IUITechnologyElement)

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

InitializeProgrammaticScroll()

Initializes this element for programmatic scrolling.

InvokeProgrammaticAction(ProgrammaticActionOption)

Performs programmatic action by using the provided option.

ScrollProgrammatically(ScrollDirection, ScrollAmount)
SetFocus()

Sets the UI focus on this element.

SetOption(UITechnologyElementOption, Object)

Sets the value of the specified option in this element.

WaitForReady()

Waits for this element to be ready for user action.

Applies to