GridPattern 類別

定義

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

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

備註

GridPattern 不支援方格的主動式操作; TransformPattern 這項功能需要控制項模式。GridPattern does not support active manipulation of a grid; the TransformPattern control pattern is required for this functionality.

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

欄位

ColumnCountProperty

識別 ColumnCount 屬性。Identifies the ColumnCount property.

Pattern

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

RowCountProperty

識別 RowCount 屬性。Identifies the RowCount property.

屬性

Cached

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

Current

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

方法

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.

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)

適用於

另請參閱