| GridControlSetCoveredCellsRowCol Method (UInt32, UInt32, UInt32, UInt32, RedrawFlags) |
Sets the covered cells-range for a cell.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool SetCoveredCellsRowCol(
uint row,
uint col,
uint toRow,
uint toCol,
RedrawFlags redraw
)
Public Function SetCoveredCellsRowCol (
row As UInteger,
col As UInteger,
toRow As UInteger,
toCol As UInteger,
redraw As RedrawFlags
) As Boolean
public:
bool SetCoveredCellsRowCol(
unsigned int row,
unsigned int col,
unsigned int toRow,
unsigned int toCol,
RedrawFlags redraw
)
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.
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.
Equivalent to
SetCoveredCellsRowCol(row,
col,
toRow,
toCol,
redraw,
Do).
See Also