Click or drag to resize
GridControlClearCells Method (Range, Boolean)
Clears a range of cells.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
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: Boolean
true 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