Click or drag to resize
GridControlSetColWidth Method (UInt32, UInt32, Int32)
Sets the width of the specified column.

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

Parameters

fromCol
Type: SystemUInt32
The first column index.
toCol
Type: SystemUInt32
The last column index.
width
Type: SystemInt32
The new width for all the indicated columns, in pixels.

Return Value

Type: Boolean
true if the command is successfully executed; false if the command fails or if the user aborts the operation.
Remarks
Equivalent to SetColWidth(fromCol, toCol, width, nullptr, UpdateNow, Do).
See Also