Syncfusion.Grid.Windows


Syncfusion.Windows.Forms.Grid Namespace > GridModel Class > ClearCells Method : ClearCells(GridRangeInfo,Boolean) Method
The GridRangeInfo
True if you want to clear all cell information; False if you only want to clear text

ClearCells(GridRangeInfo,Boolean) Method

Determines whether can clears a specified range of cells.
Syntax
'Declaration
 
Public Overloads Function ClearCells( _
   ByVal range As GridRangeInfo, _
   ByVal clearStyle As Boolean _
) As Boolean
'Usage
 
Dim instance As GridModel
Dim range As GridRangeInfo
Dim clearStyle As Boolean
Dim value As Boolean
 
value = instance.ClearCells(range, clearStyle)
public bool ClearCells( 
   GridRangeInfo range,
   bool clearStyle
)

Parameters

range
The GridRangeInfo
clearStyle
True if you want to clear all cell information; False if you only want to clear text

Return Value

A System.Boolean that indicates if the operation was successful.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also