ITableProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exposes methods and properties to support UI Automation client access 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 (that is, a UI Automation client can move to adjacent controls) by using the keyboard.
public interface class ITableProvider : System::Windows::Automation::Provider::IGridProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("9c860395-97b3-490a-b52a-858cc22af166")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ITableProvider : System.Windows.Automation.Provider.IGridProvider
public interface ITableProvider : System.Windows.Automation.Provider.IGridProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("9c860395-97b3-490a-b52a-858cc22af166")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ITableProvider = interface
interface IGridProvider
type ITableProvider = interface
interface IGridProvider
Public Interface ITableProvider
Implements IGridProvider
- Derived
- Attributes
- Implements
Remarks
This control pattern is analogous to IGridProvider with the distinction that any control that implements ITableProvider must also expose a column and/or row header relationship for each child element.
Controls that implement ITableProvider are also required to implement IGridProvider so as to expose the inherent grid functionality of a table control.
Implemented on a UI Automation provider that must support the TablePattern and GridPattern control patterns.
Properties
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 |
Retrieves the primary direction of traversal for the table. |
Methods
GetColumnHeaders() |
Gets a collection of UI Automation providers that represents all the column headers in a table. |
GetItem(Int32, Int32) |
Retrieves the UI Automation provider for the specified cell. (Inherited from IGridProvider) |
GetRowHeaders() |
Retrieves a collection of UI Automation providers that represents all row headers in the table. |
Applies to
See also
- TablePattern
- GridPattern
- UI Automation Control Patterns Overview
- Server-side UI Automation Provider Implementation
- Client-side UI Automation Provider Implementation
- Support Control Patterns in a UI Automation Provider
- Implementing the UI Automation Table Control Pattern
- Implementing the UI Automation Grid Control Pattern
- Expose the Content of a Table Using UI Automation