Export (0) Print
Expand All

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)

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("f7063da8-8359-439c-9297-bbc5299a7d87")> _
<ComVisibleAttribute(True)> _
Public Interface IRawElementProviderFragment _
	Inherits IRawElementProviderSimple

The IRawElementProviderFragment type exposes the following members.

  NameDescription
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.)
Top

  NameDescription
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.
Top

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

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft