Exposes methods and properties to support access by a Microsoft UI Automation client to controls that act as containers for a collection of child elements. Implement this interface in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.Grid.
The IGridProvider interface has these types of members:
The IGridProvider interface has these methods. It also inherits methods from the Object class.
|GetItem||Retrieves the UI Automation provider for the specified cell.|
The IGridProvider interface has these properties.
|Read-only||Gets the total number of columns in a grid.|
|Read-only||Gets the total number of rows in a grid.|
This pattern has guidelines and conventions that aren't fully documented here. For more info on what this pattern is for, see Grid Control Pattern.
IGridProvider isn't implemented by any existing Windows Runtime automation peers. Notably, IGridProvider doesn't exist for the Grid layout container, or for GridView. The interface exists so that custom control authors can support the automation pattern in a custom control, and implement their automation support using the same Windows Runtime managed or C++ APIs as they use to define control logic or other automation support.
Minimum supported client
Minimum supported server
|Windows Server 2012|
Build date: 11/16/2013