IGridProvider interface (uiautomationcore.h)
Provides access to controls that act as containers for a collection of child elements organized in a two-dimensional logical coordinate system that can be traversed (that is, a Microsoft UI Automation client can move to adjacent controls) by using the keyboard. The children of this element must implement IGridItemProvider.
Inheritance
The IGridProvider interface inherits from the IUnknown interface. IGridProvider also has these types of members:
Methods
The IGridProvider interface has these methods.
IGridProvider::get_ColumnCount Specifies the total number of columns in the grid. |
IGridProvider::get_RowCount Specifies the total number of rows in the grid. |
IGridProvider::GetItem Retrieves the Microsoft UI Automation provider for the specified cell. |
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 Grid control pattern.
IGridProvider does not enable active manipulation of a grid; ITransformProvider must be implemented for this.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2003 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | uiautomationcore.h (include UIAutomation.h) |