Rediger

Del via


IRawElementProviderFragment Interface

Definition

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.

public interface class IRawElementProviderFragment : System::Windows::Automation::Provider::IRawElementProviderSimple
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("f7063da8-8359-439c-9297-bbc5299a7d87")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IRawElementProviderFragment : System.Windows.Automation.Provider.IRawElementProviderSimple
public interface IRawElementProviderFragment : System.Windows.Automation.Provider.IRawElementProviderSimple
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("f7063da8-8359-439c-9297-bbc5299a7d87")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IRawElementProviderFragment = interface
    interface IRawElementProviderSimple
type IRawElementProviderFragment = interface
    interface IRawElementProviderSimple
Public Interface IRawElementProviderFragment
Implements IRawElementProviderSimple
Derived
Attributes
Implements

Remarks

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

Properties

BoundingRectangle

Gets the bounding rectangle of this element.

FragmentRoot

Retrieves the root node of the fragment.

HostRawElementProvider

Gets a base provider for this element.

(Inherited from IRawElementProviderSimple)
ProviderOptions

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)

Methods

GetEmbeddedFragmentRoots()

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

GetPatternProvider(Int32)

Retrieves an object that provides support for a control pattern on a UI Automation element.

(Inherited from IRawElementProviderSimple)
GetPropertyValue(Int32)

Retrieves the value of a property supported by the UI Automation provider.

(Inherited from IRawElementProviderSimple)
GetRuntimeId()

Retrieves the runtime identifier of an element.

Navigate(NavigateDirection)

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

SetFocus()

Sets the focus to this element.

Applies to

See also