Expand Minimize

IRawElementProviderFragment interface

Exposes methods and properties on UI elements that are part of a structure more than one level deep, such as a list box or list item. Implemented by Microsoft UI Automation provider.

Members

The IRawElementProviderFragment interface inherits from the IUnknown interface. IRawElementProviderFragment also has these types of members:

Methods

The IRawElementProviderFragment interface has these methods.

MethodDescription
GetEmbeddedFragmentRoots

Retrieves an array of root fragments that are embedded in the UI Automation tree rooted at the current element.

GetRuntimeId

Retrieves the runtime identifier of an element.

Navigate

Retrieves the UI Automation element in a specified direction within the UI Automation tree.

SetFocus

Sets the focus to this element.

 

Properties

The IRawElementProviderFragment interface has these properties.

PropertyAccess typeDescription

BoundingRectangle

Read-only

Specifies the bounding rectangle of this element.

FragmentRoot

Read-only

Specifies the root node of the fragment.

 

Remarks

The root node of the fragment must also support the IRawElementProviderFragmentRoot interface.

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

DLL

UIAutomationCore.dll

IID

IID_IRawElementProviderFragment is defined as f7063da8-8359-439c-9297-bbc5299a7d87

See also

Reference
IRawElementProviderSimple
IRawElementProviderFragmentRoot

 

 

Community Additions

ADD
Show:
© 2014 Microsoft