| GridControlClearCells Method (Range, Boolean) |
Clears a range of cells.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool ClearCells(
Range range,
bool styleOrValue
)
Public Function ClearCells (
range As Range,
styleOrValue As Boolean
) As Boolean
public:
bool ClearCells(
Range^ range,
bool styleOrValue
)
Parameters
- range
- Type: Stingray.GridRange
The range of cells to clear. - styleOrValue
- Type: SystemBoolean
true if you want to clear the style information,
false to clear values only.
Return Value
Type:
Booleantrue if the operation is successful,
false otherwise.
Remarks
Clears the styles or values of a range of cells, depending on
the styleOrValue
parameter.
See Also