Implementing the UI Automation GridItem Control Pattern
This documentation is intended for .NET Framework developers who want to use the managed UI Automation classes defined in the System.Windows.Automation namespace. For the latest information about UI Automation, see Windows Automation API: UI Automation.
This topic introduces guidelines and conventions for implementing IGridItemProvider, including information about properties. Links to additional references are listed at the end of the overview.
The GridItemPattern control pattern is used to support individual child controls of containers that implement IGridProvider. For examples of controls that implement this control pattern, see Control Pattern Mapping for UI Automation Clients.
When implementing IGridProvider, note the following guidelines and conventions:
Grid coordinates are zero-based with the upper left cell having coordinates (0, 0).
IGridItemProvider does not provide for active manipulation of the grid such as merging or splitting cells.
Controls that implement IGridItemProvider can typically be traversed (that is, a UI Automation client can move to adjacent controls) by using the keyboard.
This control pattern has no associated exceptions.