IGridProvider 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
公開方法與屬性,以支援 使用者介面自動化 用戶端存取作為子元素容器的控制項。 此元素的子節點必須實作 IGridItemProvider,並組織成一個二維邏輯座標系,可透過鍵盤遍歷(即使用者介面自動化客戶端可移動至相鄰控制項)。
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
- 衍生
- 屬性
備註
實作於必須支援 GridPattern 控制模式的 使用者介面自動化 供應商上。
IGridProvider 不會啟用網格的活躍操作;必須實作 ITransformProvider 才能啟用這項功能。
屬性
| 名稱 | Description |
|---|---|
| ColumnCount |
取得格子中總欄位數。 |
| RowCount |
取得格子中總列數。 |
方法
| 名稱 | Description |
|---|---|
| GetItem(Int32, Int32) |
取得指定儲存格的 UI 自動化提供者。 |