| GridControlMoveRows Method (UInt32, UInt32, UInt32, RedrawFlags, CmdType) |
Moves the specified block of rows to another location.
Namespace: Stingray.GridAssembly: 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
)
Public Overridable Function MoveRows (
fromRow As UInteger,
toRow As UInteger,
destRow As UInteger,
redraw As RedrawFlags,
cmdType As CmdType
) As Boolean
public:
virtual bool MoveRows(
unsigned int fromRow,
unsigned int toRow,
unsigned int 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:
Booleantrue if the operation is successful,
false otherwise.
See Also