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