Click or drag to resize
GridControlCalcSumOfRowHeights Method (UInt32, UInt32, Int32)
Computes the total height of the given rows.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public int CalcSumOfRowHeights(
	uint fromRow,
	uint toRow,
	int abortAt
)

Parameters

fromRow
Type: SystemUInt32
The first row index.
toRow
Type: SystemUInt32
The last row index.
abortAt
Type: SystemInt32
The maximum value for the sum. If it is 0, there is no restriction.

Return Value

Type: Int32
The total height of the given columns. If the total height exceeds abortAt, the method aborts and returns the value that is greater than abortAt.
See Also