IGridProvider Interface

Definition

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.

C#
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("b17d6187-0907-464b-a168-0ef17a1572b1")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IGridProvider
C#
public interface IGridProvider
Derived
Attributes

Remarks

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 to enable this functionality.

Properties

ColumnCount

Gets the total number of columns in a grid.

RowCount

Gets the total number of rows in a grid.

Methods

GetItem(Int32, Int32)

Retrieves the UI Automation provider for the specified cell.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also