IGridItemProvider IGridItemProvider IGridItemProvider IGridItemProvider Interface

定義

公開方法和屬性,以支援使用者介面自動化用戶端存取可實作 IGridProvider 之容器的個別子控制項。Exposes methods and properties to support UI Automation client access to individual child controls of containers that implement IGridProvider.

public interface class IGridItemProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("d02541f1-fb81-4d64-ae32-f520f8a6dbd1")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IGridItemProvider
type IGridItemProvider = interface
Public Interface IGridItemProvider
衍生
屬性

備註

通常可以使用鍵盤周遊實作 IGridItemProvider 的控制項 (也就是,使用者介面自動化用戶端可以移到相鄰的控制項)。Controls that implement IGridItemProvider can typically be traversed (that is, a UI Automation client can move to adjacent controls) by using the keyboard.

在必須支援GridItemPattern控制項模式的使用者介面自動化提供者上執行。Implemented on a UI Automation provider that must support the GridItemPattern control pattern.

屬性

Column Column Column Column

取得包含儲存格或項目之資料行的序號 (Ordinal Number)。Gets the ordinal number of the column that contains the cell or item.

ColumnSpan ColumnSpan ColumnSpan ColumnSpan

取得儲存格或項目合併的資料行數目。Gets the number of columns spanned by a cell or item.

ContainingGrid ContainingGrid ContainingGrid ContainingGrid

取得實作 IGridProvider 且表示儲存格或項目容器的使用者介面自動化提供者。Gets a UI Automation provider that implements IGridProvider and represents the container of the cell or item.

Row Row Row Row

取得包含儲存格或項目之資料列的序號。Gets the ordinal number of the row that contains the cell or item.

RowSpan RowSpan RowSpan RowSpan

取得儲存格或項目合併的資料列數目。Gets the number of rows spanned by a cell or item.

適用於

另請參閱