| GridControlResizeColWidthsToFit Method (Range, Boolean) |
Automatically resizes the column widths for a given range of
cells.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool ResizeColWidthsToFit(
Range range,
bool resizeCoveredCells
)
Public Function ResizeColWidthsToFit (
range As Range,
resizeCoveredCells As Boolean
) As Boolean
public:
bool ResizeColWidthsToFit(
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:
Booleantrue if the command is successfully executed;
false if the command fails or
if the user aborts the operation.
Remarks See Also