| GridControlCalcSumOfColWidths Method (UInt32, UInt32, Int32) |
Computes the total width of the given columns.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public int CalcSumOfColWidths(
uint fromCol,
uint toCol,
int abortAt
)
Public Function CalcSumOfColWidths (
fromCol As UInteger,
toCol As UInteger,
abortAt As Integer
) As Integer
public:
int CalcSumOfColWidths(
unsigned int fromCol,
unsigned int 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:
Int32The 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