| GridControlSetCoveredCellsRowCol Method (UInt32, UInt32, UInt32, UInt32, RedrawFlags, CmdType) |
Sets the covered cells-range for a cell.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public virtual bool SetCoveredCellsRowCol(
uint row,
uint col,
uint toRow,
uint toCol,
RedrawFlags redraw,
CmdType cmdType
)
Public Overridable Function SetCoveredCellsRowCol (
row As UInteger,
col As UInteger,
toRow As UInteger,
toCol As UInteger,
redraw As RedrawFlags,
cmdType As CmdType
) As Boolean
public:
virtual bool SetCoveredCellsRowCol(
unsigned int row,
unsigned int col,
unsigned int toRow,
unsigned int toCol,
RedrawFlags redraw,
CmdType cmdType
)
Parameters
- row
- Type: SystemUInt32
The row index for the cell. - col
- Type: SystemUInt32
Specifies the column id for the cell. - toRow
- Type: SystemUInt32
The last row to cover. - toCol
- Type: SystemUInt32
The last column to cover. - redraw
- Type: Stingray.GridRedrawFlags
The redraw technique. It can take one of
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 row,col.
- cmdType
- Type: Stingray.GridCmdType
How the operation is performed.
Return Value
Type:
Booleantrue if the operation is successful,
false otherwise.
Remarks
To cover cells means that one cell can span severals cells
(for example, to display big headlines). To remove a covered
range, call this method with only the top-left cell of the
original covered range.
See Also