Click or drag to resize
GridControlMoveRows Method (UInt32, UInt32, UInt32, RedrawFlags, CmdType)
Moves the specified block of rows to another location.

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

Parameters

fromRow
Type: SystemUInt32
The first row.
toRow
Type: SystemUInt32
The last row.
destRow
Type: SystemUInt32
The destination row.
redraw
Type: Stingray.GridRedrawFlags
The redraw technique. It can take the following values:
  • UpdateNow to scroll the window contents and 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 area to the bottom of fromRow.
cmdType
Type: Stingray.GridCmdType
How the operation is performed.

Return Value

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