IGridProvider インターフェイス

定義

子要素のコレクションのコンテナーとして機能するコントロールへの UI オートメーション クライアントのアクセスをサポートするメソッドとプロパティを公開します。 この要素の子は IGridItemProvider を実装する必要があり、キーボードで走査可能な (つまり、UI オートメーション クライアントが隣接するコントロールに移動できる) 2 次元論理座標系に体系化する必要があります。

public interface class IGridProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("b17d6187-0907-464b-a168-0ef17a1572b1")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IGridProvider
public interface IGridProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("b17d6187-0907-464b-a168-0ef17a1572b1")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IGridProvider = interface
type IGridProvider = interface
Public Interface IGridProvider
派生
属性

注釈

コントロール パターンをサポートする必要があるUI オートメーション プロバイダーにGridPattern実装されます。

IGridProvider はグリッドのアクティブな操作を有効にしないため、 ITransformProvider を実装してこの機能を有効にする必要があります。

プロパティ

ColumnCount

グリッド内の列の合計数を取得します。

RowCount

グリッド内の行の合計数を取得します。

メソッド

GetItem(Int32, Int32)

指定したセルの UI オートメーション プロバイダーを取得します。

適用対象

こちらもご覧ください