संपादित करें

इसके माध्यम से साझा किया गया


IRawElementProviderFragmentRoot Interface

Definition

Exposes methods and properties on the root element in a fragment.

public interface class IRawElementProviderFragmentRoot : System::Windows::Automation::Provider::IRawElementProviderFragment
public interface class IRawElementProviderFragmentRoot : System::Windows::Automation::Provider::IRawElementProviderFragment, System::Windows::Automation::Provider::IRawElementProviderSimple
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("620ce2a5-ab8f-40a9-86cb-de3c75599b58")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IRawElementProviderFragmentRoot : System.Windows.Automation.Provider.IRawElementProviderFragment
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("620ce2a5-ab8f-40a9-86cb-de3c75599b58")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IRawElementProviderFragmentRoot : System.Windows.Automation.Provider.IRawElementProviderFragment, System.Windows.Automation.Provider.IRawElementProviderSimple
public interface IRawElementProviderFragmentRoot : System.Windows.Automation.Provider.IRawElementProviderFragment
public interface IRawElementProviderFragmentRoot : System.Windows.Automation.Provider.IRawElementProviderFragment, System.Windows.Automation.Provider.IRawElementProviderSimple
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("620ce2a5-ab8f-40a9-86cb-de3c75599b58")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IRawElementProviderFragmentRoot = interface
    interface IRawElementProviderFragment
    interface IRawElementProviderSimple
type IRawElementProviderFragmentRoot = interface
    interface IRawElementProviderFragment
    interface IRawElementProviderSimple
Public Interface IRawElementProviderFragmentRoot
Implements IRawElementProviderFragment
Public Interface IRawElementProviderFragmentRoot
Implements IRawElementProviderFragment, IRawElementProviderSimple
Attributes
Implements

Remarks

This interface is implemented by a root element within a framework; for example, a list box within a window. Other elements in the same fragment, such as list items, implement the IRawElementProviderFragment interface.

Properties

BoundingRectangle

Gets the bounding rectangle of this element.

(Inherited from IRawElementProviderFragment)
FragmentRoot

Retrieves the root node of the fragment.

(Inherited from IRawElementProviderFragment)
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

ElementProviderFromPoint(Double, Double)

Retrieves the element in this fragment that is at the specified point.

GetEmbeddedFragmentRoots()

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

(Inherited from IRawElementProviderFragment)
GetFocus()

Retrieves the element in this fragment that has the input focus.

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.

(Inherited from IRawElementProviderFragment)
Navigate(NavigateDirection)

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

(Inherited from IRawElementProviderFragment)
SetFocus()

Sets the focus to this element.

(Inherited from IRawElementProviderFragment)

Applies to

See also