GridViewAutomationPeer 類別

定義

GridView 類型公開至 UI 自動化。Exposes GridView types to UI Automation.

public ref class GridViewAutomationPeer : System::Windows::Automation::Peers::IViewAutomationPeer, System::Windows::Automation::Provider::ITableProvider
public class GridViewAutomationPeer : System.Windows.Automation.Peers.IViewAutomationPeer, System.Windows.Automation.Provider.ITableProvider
type GridViewAutomationPeer = class
    interface IViewAutomationPeer
    interface IGridProvider
    interface ITableProvider
type GridViewAutomationPeer = class
    interface IViewAutomationPeer
    interface ITableProvider
    interface IGridProvider
Public Class GridViewAutomationPeer
Implements ITableProvider, IViewAutomationPeer
繼承
GridViewAutomationPeer
實作

建構函式

GridViewAutomationPeer(GridView, ListView)

初始化 GridViewAutomationPeer 類別的新執行個體。Initializes a new instance of the GridViewAutomationPeer class.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

明確介面實作

IGridProvider.ColumnCount

取得方格中的資料行總數。Gets the total number of columns in a grid.

IGridProvider.GetItem(Int32, Int32)

傳回指定之儲存格的使用者介面自動化提供者。Returns the UI Automation provider for the specified cell.

IGridProvider.RowCount

取得方格的資料列總數。Gets the total number of rows in a grid.

ITableProvider.GetColumnHeaders()

傳回 UI 自動化提供者的集合,這些提供者表示資料表中的所有資料行行首。Returns a collection of UI Automation providers that represents all the column headers in a table.

ITableProvider.GetRowHeaders()

傳回 UI 自動化提供者的集合,這些提供者表示資料表中的所有資料列行首。Returns a collection of UI Automation providers that represents all row headers in the table.

ITableProvider.RowOrColumnMajor

取得資料表的主要周遊方向。Gets the primary direction of traversal for the table.

IViewAutomationPeer.CreateItemAutomationPeer(Object)

建立 ItemAutomationPeer 類別的新執行個體。Creates a new instance of the ItemAutomationPeer class.

IViewAutomationPeer.GetAutomationControlType()

取得與此 GridViewAutomationPeer 相關聯之項目的控制項類型。Gets the control type for the element that is associated with this GridViewAutomationPeer.

IViewAutomationPeer.GetChildren(List<AutomationPeer>)

取得指定之消費者介面自動化對等的直屬子項目集合。Gets the collection of immediate child elements of the specified UI Automation peer.

IViewAutomationPeer.GetPattern(PatternInterface)

取得與指定之 patternInterface 相關聯的控制項模式。Gets the control pattern that is associated with the specified patternInterface.

IViewAutomationPeer.ItemsChanged(NotifyCollectionChangedEventArgs)

當項目集合變更時呼叫。Called when the collection of items changes.

IViewAutomationPeer.ViewDetached()

當自訂檢視不再套用至控制項時呼叫。Called when the custom view is no longer applied to the control.

適用於