| GridControlCalcSumOfRowHeights Method (UInt32, UInt32, Int32) |
Computes the total height of the given rows.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public int CalcSumOfRowHeights(
uint fromRow,
uint toRow,
int abortAt
)
Public Function CalcSumOfRowHeights (
fromRow As UInteger,
toRow As UInteger,
abortAt As Integer
) As Integer
public:
int CalcSumOfRowHeights(
unsigned int fromRow,
unsigned int 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:
Int32The 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