Windows apps
Collapse the table of content
Expand the table of content
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.

IRawElementProviderFragment Interface

 

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

Namespace:   System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

[ComVisibleAttribute(true)]
[GuidAttribute("f7063da8-8359-439c-9297-bbc5299a7d87")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRawElementProviderFragment : IRawElementProviderSimple

NameDescription
System_CAPS_pubpropertyBoundingRectangle

Gets the bounding rectangle of this element.

System_CAPS_pubpropertyFragmentRoot

Retrieves the root node of the fragment.

System_CAPS_pubpropertyHostRawElementProvider

Gets a base provider for this element.(Inherited from IRawElementProviderSimple.)

System_CAPS_pubpropertyProviderOptions

Gets a value that specifies characteristics of the UI Automation provider; for example, whether it is a client-side or server-side provider. (Inherited from IRawElementProviderSimple.)

NameDescription
System_CAPS_pubmethodGetEmbeddedFragmentRoots()

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

System_CAPS_pubmethodGetPatternProvider(Int32)

Retrieves an object that provides support for a control pattern on a UI Automation element.(Inherited from IRawElementProviderSimple.)

System_CAPS_pubmethodGetPropertyValue(Int32)

Retrieves the value of a property supported by the UI Automation provider.(Inherited from IRawElementProviderSimple.)

System_CAPS_pubmethodGetRuntimeId()

Retrieves the runtime identifier of an element.

System_CAPS_pubmethodNavigate(NavigateDirection)

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

System_CAPS_pubmethodSetFocus()

Sets the focus to this element.

The root node of the fragment must support the IRawElementProviderFragmentRoot interface, which inherits from IRawElementProviderFragment.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft