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.


The IRawElementProviderFragment interface has these methods.

Method Description
IRawElementProviderFragment::get_BoundingRectangle Specifies the bounding rectangle of this element.
IRawElementProviderFragment::get_FragmentRoot Specifies the root node of the fragment.
IRawElementProviderFragment::GetEmbeddedFragmentRoots Retrieves an array of root fragments that are embedded in the Microsoft UI Automation tree rooted at the current element.
IRawElementProviderFragment::GetRuntimeId Retrieves the runtime identifier of an element.
IRawElementProviderFragment::Navigate Retrieves the Microsoft UI Automation element in a specified direction within the UI Automation tree.
IRawElementProviderFragment::SetFocus Sets the focus to this element.


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


Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See Also