| RangeGetNextCell Method (UInt32, UInt32) |
Gets the next cell, in row order.
Namespace: Stingray.GridAssembly: Stingray.GridUtils (in Stingray.GridUtils.dll) Version: 14.0.0.0
Syntax public bool GetNextCell(
ref uint row,
ref uint col
)
Public Function GetNextCell (
ByRef row As UInteger,
ByRef col As UInteger
) As Boolean
public:
bool GetNextCell(
unsigned int% row,
unsigned int% col
)
Parameters
- row
- Type: SystemUInt32
The row index of the reference cell. It is set on return to
the row index of the cell following to the reference cell, in row order. - col
- Type: SystemUInt32
The column index of the reference cell. It is set on return to
the column index of the cell next to the reference cell, in row order.
Return Value
Type:
Booleantrue if
row and
col are set to
the location of a valid cell;
false if there is no next cell in this
Range.
Remarks
Equivalent to
GetNextCell(row,
col, true).
Given a reference cell, this method computes the location of the next cell,
in row order, that is, the cell immediately to the right of the reference
cell, in this range. If the reference cell is the rightmost cell of the range row, this
method returns the location of the first cell on the next row of the range. If there is
no such next row, the returned cell location is invalid.
See Also