C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > Clear Method : Clear() Method |
'Declaration
Public Overloads Overridable Sub Clear()
'Usage
Dim instance As C1FlexGridBase instance.Clear()
public virtual void Clear()
public: virtual void Clear();
This method removes all data, styles, and user data from all cells, rows, and columns on the grid.
The Clear(ClearFlags,CellRange) method does not affect the number of rows and columns on the grid, and can't be used to clear data when the grid is bound to a data source.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2