This documentation is archived and is not being maintained.

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)

public interface IRawElementProviderFragment : IRawElementProviderSimple

The IRawElementProviderFragment type exposes the following members.

Public propertyBoundingRectangleGets the bounding rectangle of this element.
Public propertyFragmentRootRetrieves the root node of the fragment.
Public propertyHostRawElementProviderGets a base provider for this element. (Inherited from IRawElementProviderSimple.)
Public propertyProviderOptionsGets 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.)

Public methodGetEmbeddedFragmentRootsRetrieves an array of fragment roots that are embedded in the UI Automation element tree rooted at the current element.
Public methodGetPatternProviderRetrieves an object that provides support for a control pattern on a UI Automation element. (Inherited from IRawElementProviderSimple.)
Public methodGetPropertyValueRetrieves the value of a property supported by the UI Automation provider. (Inherited from IRawElementProviderSimple.)
Public methodGetRuntimeIdRetrieves the runtime identifier of an element.
Public methodNavigateRetrieves the UI Automation element in a specified direction within the tree.
Public methodSetFocusSets the focus to this element.

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

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.