ITableProvider Interface
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. 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.
Namespace: System.Windows.Automation.Provider
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public Interface ITableProvider _
Inherits IGridProvider
public interface ITableProvider : IGridProvider
The ITableProvider type exposes the following members.
Properties
Name | Description | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
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. |
Top
Remarks
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.
This interface is implemented on a UI automation provider that must support the Table and Grid control patterns.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
See Also