ITableItemProvider 接口

定义

公开一些方法和属性,UI 自动化客户端可通过这些方法和属性访问实现 ITableProvider 的容器的子控件。Exposes methods and properties to support UI Automation client access to child controls of containers that implement ITableProvider.

public interface class ITableItemProvider : System::Windows::Automation::Provider::IGridItemProvider
public interface ITableItemProvider : System.Windows.Automation.Provider.IGridItemProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("b9734fa6-771f-4d78-9c90-2517999349cd")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ITableItemProvider : System.Windows.Automation.Provider.IGridItemProvider
type ITableItemProvider = interface
    interface IGridItemProvider
Public Interface ITableItemProvider
Implements IGridItemProvider
派生
属性
实现

注解

此控件模式类似于IGridItemProvider , 其中的任何实现ITableItemProvider控件都必须公开单个单元格及其行和列信息之间的关系。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.

对单个单元格功能的访问是由的并发实现IGridItemProvider提供的。Access to individual cell functionality is provided by the concurrent implementation of IGridItemProvider.

在必须支持TableItemPattern控件模式的 UI 自动化提供程序上实现。Implemented on a UI Automation provider that must support the TableItemPattern control pattern.

属性

Column

获取包含单元格或项的列的序号。Gets the ordinal number of the column that contains the cell or item.

(继承自 IGridItemProvider)
ColumnSpan

获取单元格或项跨的列数。Gets the number of columns spanned by a cell or item.

(继承自 IGridItemProvider)
ContainingGrid

获取一个 UI 自动化提供程序,该提供程序可实现 IGridProvider 并表示单元或项的容器。Gets a UI Automation provider that implements IGridProvider and represents the container of the cell or item.

(继承自 IGridItemProvider)
Row

获取包含单元格或项的行的序号。Gets the ordinal number of the row that contains the cell or item.

(继承自 IGridItemProvider)
RowSpan

获取某个单元格或项跨的行数。Gets the number of rows spanned by a cell or item.

(继承自 IGridItemProvider)

方法

GetColumnHeaderItems()

检索用来表示与表项或单元格关联的所有列标题的 UI 自动化提供程序的集合。Retrieves a collection of UI Automation providers representing all the column headers associated with a table item or cell.

GetRowHeaderItems()

检索用来表示与表项或单元格关联的所有行标题的 UI 自动化提供程序的集合。Retrieves a collection of UI Automation providers representing all the row headers associated with a table item or cell.

适用于

另请参阅