Exposes methods and properties to support access by a UI automation client to controls that act as containers for a collection of child elements. The children of this element must implement ITableItemProvider and be organized in a two-dimensional logical coordinate system that can be traversed (a UI automation client can move to adjacent controls, which are headers or cells of the table) by using the keyboard.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Interface ITableProvider _ Inherits IGridProvider
public interface ITableProvider : IGridProvider
The ITableProvider type exposes the following members.
|ColumnCount||Gets the total number of columns in a grid. (Inherited from IGridProvider.)|
|RowCount||Gets the total number of rows in a grid. (Inherited from IGridProvider.)|
|RowOrColumnMajor||Gets the primary direction of traversal for the table.|
|GetColumnHeaders||Returns a collection of UI Automation providers that represents all the column headers in a table.|
|GetItem||Retrieves the UI automation provider for the specified cell. (Inherited from IGridProvider.)|
|GetRowHeaders||Returns a collection of UI Automation providers that represents all row headers in the table.|
This control pattern is similar to IGridProvider, except that any control that implements ITableProvider must also expose a column or row header relationship for each child element.
Controls that implement ITableProvider should also implement IGridProvider so that they expose the inherent grid functionality of a table control.
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.