Click or drag to resize
GridControlResizeRowHeightsToFit Method (Range, Boolean)
Automatically resizes the row heights for a given range of cells.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public bool ResizeRowHeightsToFit(
	Range range,
	bool resizeCoveredCells
)

Parameters

range
Type: Stingray.GridRange
The range of cells.
resizeCoveredCells
Type: SystemBoolean
If true, the covered cells are resized.

Return Value

Type: Boolean
true if the command is successfully executed; false if the command fails or if the user aborts the operation.
Remarks
Equivalent to ResizeRowHeightsToFit(range, resizeCoveredCells, UpdateNow).
See Also