Click or drag to resize
GridControlOnClear Method (Boolean)
Raises the Clear event.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public virtual bool OnClear(
	bool style
)

Parameters

style
Type: SystemBoolean
true clears the entire style information for the cells. false clears only the displayed cell value.

Return Value

Type: Boolean
true if the clear operation is allowed and successful; false otherwise.
Remarks
Invoke this method to clear the selected range of grid cells. This form of the method allows you to specify whether or not to clear the entire style information for the range of cells.
See Also