GridList<T>.ToGridIndex
ToGridIndex(int)
Declaration
public readonly GridIndex ToGridIndex(int sourceIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | sourceIndex | The index into the underlying list, Source |
Returns
| Type | Description |
|---|---|
| GridIndex | The GridIndex into this grid of the element at the |
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | Thrown when the grid hasn't been constructed via CreateWithRows(IList<T>, Int32) or CreateWithColumns(IList<T>, Int32) |