GridPattern GridPattern GridPattern GridPattern Class


Represents controls that act as containers for a collection of child elements. 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 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 ColumnCountProperty ColumnCountProperty ColumnCountProperty

Identifies the ColumnCount property.

Pattern Pattern Pattern Pattern

Identifies the GridPattern control pattern.

RowCountProperty RowCountProperty RowCountProperty RowCountProperty

Identifies the RowCount property.


Cached Cached Cached Cached

Gets the cached UI Automation property values for this GridPattern.

Current Current Current Current

Gets the current UI Automation property values for this GridPattern.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetItem(Int32, Int32) GetItem(Int32, Int32) GetItem(Int32, Int32) GetItem(Int32, Int32)

Retrieves an AutomationElement that represents the specified cell.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also