Microsoft Silverlight will reach end of support after October 2021. Learn more.
Exposes methods and properties to support access by a UI automation client to controls that act as containers for a collection of child elements.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Interface IGridProvider
public interface IGridProvider
The IGridProvider type exposes the following members.
|ColumnCount||Gets the total number of columns in a grid.|
|RowCount||Gets the total number of rows in a grid.|
|GetItem||Retrieves the UI automation provider for the specified cell.|
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.
This interface is implemented in a UI automation provider that must support the Grid control pattern.
IGridProvider does not enable active manipulation of a grid. To enable this functionality, ITransformProvider must be implemented.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.