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

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public virtual bool RemoveRows(
	uint fromRow,
	uint toRow,
	RedrawFlags redraw,
	CmdType cmdType
)

Parameters

fromRow
Type: SystemUInt32
The first row.
toRow
Type: SystemUInt32
The last row.
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