Click or drag to resize
GridControlRemoveCols Method (UInt32, UInt32, RedrawFlags, CmdType)
Removes a block of columns.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public virtual bool RemoveCols(
	uint fromCol,
	uint toCol,
	RedrawFlags redraw,
	CmdType cmdType
)

Parameters

fromCol
Type: SystemUInt32
The first column.
toCol
Type: SystemUInt32
The last column.
redraw
Type: Stingray.GridRedrawFlags
The redraw technique. It can take the following values:
  • UpdateNow to call UpdateWindow() after invalidating the window
  • Smart to scroll the window contents without calling UpdateWindow() after the last invalidation
  • Invalidate to simply invalidate the window
cmdType
Type: Stingray.GridCmdType
How the operation is performed.

Return Value

Type: Boolean
true if the operation is successful, false otherwise.
See Also