| GridControlMoveCols Method (UInt32, UInt32, UInt32, RedrawFlags, CmdType) |
Moves the specified block of columns to another location.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public virtual bool MoveCols(
uint fromCol,
uint toCol,
uint destCol,
RedrawFlags redraw,
CmdType cmdType
)
Public Overridable Function MoveCols (
fromCol As UInteger,
toCol As UInteger,
destCol As UInteger,
redraw As RedrawFlags,
cmdType As CmdType
) As Boolean
public:
virtual bool MoveCols(
unsigned int fromCol,
unsigned int toCol,
unsigned int destCol,
RedrawFlags redraw,
CmdType cmdType
)
Parameters
- fromCol
- Type: SystemUInt32
The first column. - toCol
- Type: SystemUInt32
The last column. - destCol
- Type: SystemUInt32
The destination column. - 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 right of
fromCol.
- cmdType
- Type: Stingray.GridCmdType
How the operation is performed.
Return Value
Type:
Booleantrue if the operation is successful,
false otherwise.
See Also