IRawElementProviderFragmentRoot 介面

定義

公開在片段中根項目的方法與屬性。Exposes methods and properties on the root element in a fragment.

public interface class IRawElementProviderFragmentRoot : System::Windows::Automation::Provider::IRawElementProviderFragment
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
type IRawElementProviderFragmentRoot = interface
    interface IRawElementProviderFragment
    interface 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
Public Interface IRawElementProviderFragmentRoot
Implements IRawElementProviderFragment
屬性
實作

備註

這個介面是由架構中的根項目所執行;例如,視窗內的清單方塊。This interface is implemented by a root element within a framework; for example, a list box within a window. 相同片段中的其他元素(例如清單專案)會執行 IRawElementProviderFragment 介面。Other elements in the same fragment, such as list items, implement the IRawElementProviderFragment interface.

屬性

BoundingRectangle

取得此項目的週框。Gets the bounding rectangle of this element.

(繼承來源 IRawElementProviderFragment)
FragmentRoot

擷取片段的根節點。Retrieves the root node of the fragment.

(繼承來源 IRawElementProviderFragment)
HostRawElementProvider

取得這個項目的基底提供者。Gets a base provider for this element.

(繼承來源 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.

(繼承來源 IRawElementProviderSimple)

方法

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.

(繼承來源 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.

(繼承來源 IRawElementProviderSimple)
GetPropertyValue(Int32)

擷取使用者介面自動化提供者支援的屬性值。Retrieves the value of a property supported by the UI Automation provider.

(繼承來源 IRawElementProviderSimple)
GetRuntimeId()

擷取項目的執行階段識別項。Retrieves the runtime identifier of an element.

(繼承來源 IRawElementProviderFragment)
Navigate(NavigateDirection)

抓取樹狀結構內指定方向的消費者介面自動化元素。Retrieves the UI Automation element in a specified direction within the tree.

(繼承來源 IRawElementProviderFragment)
SetFocus()

將焦點設定為這個項目。Sets the focus to this element.

(繼承來源 IRawElementProviderFragment)

適用於