Click or drag to resize
GridControlHideCols Method (UInt32, UInt32, Boolean, RedrawFlags)
Hides the specified columns.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public bool HideCols(
	uint fromCol,
	uint toCol,
	bool hide,
	RedrawFlags redraw
)

Parameters

fromCol
Type: SystemUInt32
The first column to hide.
toCol
Type: SystemUInt32
The last column to hide.
hide
Type: SystemBoolean
The visible flag for all rows.
redraw
Type: Stingray.GridRedrawFlags
The redraw technique. It can take the following values:

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 HideCols(fromCol, toCol, hide, redraw, Do).
See Also