TablePattern TablePattern TablePattern TablePattern Class


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


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.

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 ColumnHeadersProperty ColumnHeadersProperty ColumnHeadersProperty

Identifies the property that gets the collection of column headers for a table.

Pattern Pattern Pattern Pattern

Identifies the TablePattern control pattern.

RowHeadersProperty RowHeadersProperty RowHeadersProperty RowHeadersProperty

Identifies the property that gets the collection of row headers for a table.

RowOrColumnMajorProperty RowOrColumnMajorProperty RowOrColumnMajorProperty RowOrColumnMajorProperty

Identifies the RowOrColumnMajor property.


Cached Cached Cached Cached

Gets the cached UI Automation property values for this TablePattern.

Current Current Current Current

Gets the current UI Automation property values for this TablePattern.


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.

(Inherited from GridPattern)
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