Skip to content

An AI Agent that interacts with Windows OS at GUI level.

Python
2.6 KB
Raw Blame

IRawElementProviderFragment

Original Documentation

IRawElementProviderFragment interface (uiautomationcore.h)

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.

Inheritance

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

Methods

The IRawElementProviderFragment interface has these methods.

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.

Remarks

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

Requirements

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

See also

IRawElementProviderFragmentRoot

IRawElementProviderSimple

Reference