IGridProvider Interface

Exposes methods and properties to support UI Automation client access to controls that act as containers for a collection of child elements. The children of this element must implement IGridItemProvider and be organized in a two-dimensional logical coordinate system that can be traversed (that is, a UI Automation client can move to adjacent controls) by using the keyboard.

IGridProvider Members

ColumnCount Gets the total number of columns in a grid.
GetItem Retrieves the UI Automation provider for the specified cell.
RowCount Gets the total number of rows in a grid.

Remarks

The IGridProvider interface exposes methods and properties to support UI Automation client access to controls that act as containers for a collection of child elements. The children of this element must implement IGridItemProvider and be organized in a two-dimensional logical coordinate system that can be traversed (that is, a UI Automation client can move to adjacent controls) by using the keyboard.

Implemented on a UI Automation provider that must support the GridPattern control pattern.

IGridProvider does not enable active manipulation of a grid; ITransformProvider must be implemented for this.

Interface Information

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

See Also

UI Automation Providers Overview