| GridControlResizeRowHeightsToFit Method (Range, Boolean, RedrawFlags) |
Automatically resizes the row heights for a given range of
cells.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool ResizeRowHeightsToFit(
Range range,
bool resizeCoveredCells,
RedrawFlags redraw
)
Public Function ResizeRowHeightsToFit (
range As Range,
resizeCoveredCells As Boolean,
redraw As RedrawFlags
) As Boolean
public:
bool ResizeRowHeightsToFit(
Range^ range,
bool resizeCoveredCells,
RedrawFlags redraw
)
Parameters
- range
- Type: Stingray.GridRange
The range of cells. - resizeCoveredCells
- Type: SystemBoolean
If true, the covered
cells are resized. - redraw
- Type: Stingray.GridRedrawFlags
The redraw technique. It can take one of
the following values:
- UpdateNow
- to update the window after each row height
change.
- Invalidate
- to simply invalidate the window area to the
bottom of the first row that
is resized.
- NoShrinkSize
- specifies that the row height should not
become smaller: rows will be enlarged
only.
Return Value
Type:
Booleantrue if the command is successfully executed;
false if the command fails or
if the user aborts the operation.
See Also