ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / Clear Method / Clear() Method

In This Topic
    Clear() Method
    In This Topic
    Clears the grid.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub Clear() 
    public virtual void Clear()
    Remarks

    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.

    See Also