TablePattern 類別

定義

代表可當成子項目集合容器使用的控制項。Represents controls that act as containers for a collection of child elements. 這個項目的子系支援 TableItemPattern,並組織成資料列與資料行可周遊的二維邏輯座標系統。The children of this element support TableItemPattern and are organized in a two-dimensional logical coordinate system that can be traversed by row and column.

public ref class TablePattern : System::Windows::Automation::GridPattern
public class TablePattern : System.Windows.Automation.GridPattern
type TablePattern = class
    inherit GridPattern
Public Class TablePattern
Inherits GridPattern
繼承

備註

此控制項模式類似于差異在於, GridPattern 任何支援 TablePattern 也會針對每個子專案公開資料行或資料列標頭關聯性(或兩者)的控制項。This control pattern is analogous to GridPattern with the distinction that any control that supports TablePattern also exposes a column or row header relationship, or both, for each child element.

支援控制項模式的控制項 TablePattern 也支援 GridPattern 控制項模式,以便提供資料表的固有格線功能存取權。Controls that support the TablePattern control pattern also support the GridPattern control pattern in order to provide access to the inherent grid functionality of a table.

如需可執行此控制項模式的控制項範例,請參閱 消費者介面自動化用戶端的控制項模式對應See Control Pattern Mapping for UI Automation Clients for examples of controls that may implement this control pattern.

欄位

ColumnHeadersProperty

識別可取得資料表之資料行標頭集合的屬性。Identifies the property that gets the collection of column headers for a table.

Pattern

識別 TablePattern 控制項模式。Identifies the TablePattern control pattern.

RowHeadersProperty

識別可取得資料表之資料列標頭集合的屬性。Identifies the property that gets the collection of row headers for a table.

RowOrColumnMajorProperty

識別 RowOrColumnMajor 屬性。Identifies the RowOrColumnMajor property.

屬性

Cached

取得這個的快取消費者介面自動化屬性值 TablePatternGets the cached UI Automation property values for this TablePattern.

Current

取得這個的目前消費者介面自動化屬性值 TablePatternGets the current UI Automation property values for this TablePattern.

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

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

(繼承來源 Object)
GetItem(Int32, Int32)

擷取一個表示指定之儲存格的 AutomationElementRetrieves an AutomationElement that represents the specified cell.

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

適用於

另請參閱