IUIAutomationGridPattern Interface

Exposes properties and methods of a UI Automation element that represents a control that acts as a container for a collection of child elements. The children of this element support the IUIAutomationGridItemPattern interface and are organized in a two-dimensional logical coordinate system that can be traversed by row and column.

IUIAutomationGridPattern Members

CachedColumnCount Retrieves the cached number of columns in the grid.
CachedRowCount Retrieves the cached number of rows in the grid.
CurrentColumnCount Retrieves the number of columns in the grid.
CurrentRowCount Retrieves the number of rows in the grid.
GetItem Retrieves a UI Automation element representing an item in the grid.


This interface does not support active manipulation of a grid; the IUIAutomationTransformPattern interface is required for this functionality.

Interface Information

Inherits from IUnknown
Header and IDL files uiautomation.h, uiautomationclient.idl
Minimum operating systems Windows 7