| GridControlRemoveCols Method (UInt32, UInt32, RedrawFlags, CmdType) |
Removes a block of columns.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public virtual bool RemoveCols(
uint fromCol,
uint toCol,
RedrawFlags redraw,
CmdType cmdType
)
Public Overridable Function RemoveCols (
fromCol As UInteger,
toCol As UInteger,
redraw As RedrawFlags,
cmdType As CmdType
) As Boolean
public:
virtual bool RemoveCols(
unsigned int fromCol,
unsigned int 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:
Booleantrue if the operation is successful,
false otherwise.
See Also