Interface IGridProvider
Exposes methods and properties to support access by a UI automation client to controls that act as containers for a collection of child elements.
Namespace: System.Windows.Automation.Provider
Assembly: OpenSilver.dll
Syntax
public interface IGridProvider
Properties
| Improve this Doc View SourceColumnCount
Gets the total number of columns in a grid.
Declaration
int ColumnCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The total number of columns in a grid. |
RowCount
Gets the total number of rows in a grid.
Declaration
int RowCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The total number of rows in a grid. |
Methods
| Improve this Doc View SourceGetItem(Int32, Int32)
Retrieves the UI automation provider for the specified cell.
Declaration
IRawElementProviderSimple GetItem(int row, int column)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row | The ordinal number of the row that contains the cell. |
System.Int32 | column | The ordinal number of the column that contains the cell. |
Returns
Type | Description |
---|---|
IRawElementProviderSimple | The UI automation provider for the specified cell. |