GridList<T>.Item
Item[int, int]
Get the element stored at the given row
and column
Declaration
public readonly T this[int row, int column] { get; }
Parameters
Type | Name | Description |
---|---|---|
int | row | The row index |
int | column | The column index |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the grid hasn't been constructed via CreateWithRows(IList<T>, Int32) or CreateWithColumns(IList<T>, Int32) |
Item[GridIndex]
Get the element stored at the given index
Declaration
public readonly T this[GridIndex index] { get; }
Parameters
Type | Name | Description |
---|---|---|
GridIndex | index | The GridIndex of the element to access |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the grid hasn't been constructed via CreateWithRows(IList<T>, Int32) or CreateWithColumns(IList<T>, Int32) |