Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ITableProvider Interface

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.

Namespace:  System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)
[GuidAttribute("9c860395-97b3-490a-b52a-858cc22af166")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
public interface ITableProvider : IGridProvider

The ITableProvider type exposes the following members.

  NameDescription
Public propertyColumnCountGets the total number of columns in a grid. (Inherited from IGridProvider.)
Public propertyRowCountGets the total number of rows in a grid. (Inherited from IGridProvider.)
Public propertyRowOrColumnMajorRetrieves the primary direction of traversal for the table.
Top
  NameDescription
Public methodGetColumnHeadersGets a collection of UI Automation providers that represents all the column headers in a table.
Public methodGetItemRetrieves the UI Automation provider for the specified cell. (Inherited from IGridProvider.)
Public methodGetRowHeadersRetrieves a collection of UI Automation providers that represents all row headers in the table.
Top

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.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.