共用方式為


ITableItemProvider Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Exposes methods and properties to support UI automation client access to child controls of containers that implement ITableProvider.

Namespace:  System.Windows.Automation.Provider
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Interface ITableItemProvider _
    Inherits IGridItemProvider
public interface ITableItemProvider : IGridItemProvider

The ITableItemProvider type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone Column Gets the ordinal number of the column that contains the cell or item. (Inherited from IGridItemProvider.)
Public propertySupported by Silverlight for Windows Phone ColumnSpan Gets the number of columns that are spanned by a cell or item. (Inherited from IGridItemProvider.)
Public propertySupported by Silverlight for Windows Phone ContainingGrid Gets a UI automation provider that implements IGridProvider and that represents the container of the cell or item. (Inherited from IGridItemProvider.)
Public propertySupported by Silverlight for Windows Phone Row Gets the ordinal number of the row that contains the cell or item. (Inherited from IGridItemProvider.)
Public propertySupported by Silverlight for Windows Phone RowSpan Gets the number of rows spanned by a cell or item. (Inherited from IGridItemProvider.)

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone GetColumnHeaderItems Retrieves an array of UI automation providers representing all the column headers associated with a table item or cell.
Public methodSupported by Silverlight for Windows Phone GetRowHeaderItems Retrieves an array of UI automation providers representing all the row headers associated with a table item or cell.

Top

Remarks

This control pattern is analogous to IGridItemProvider with the distinction that any control implementing ITableItemProvider must expose the relationship between the individual cell and its row and column information.

Access to individual cell functionality is provided by the concurrent implementation of IGridItemProvider.

This interface is implemented on a UI automation provider that must support the TableItem control pattern.

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.