Click or drag to resize
GridControlCalcSumOfColWidths Method (UInt32, UInt32, Int32)
Computes the total width of the given columns.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public int CalcSumOfColWidths(
	uint fromCol,
	uint toCol,
	int abortAt
)

Parameters

fromCol
Type: SystemUInt32
The first column index.
toCol
Type: SystemUInt32
The last column index.
abortAt
Type: SystemInt32
The maximum value for the sum. If it is 0, there is no restriction.

Return Value

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