FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / Clear Method / Clear(ClearFlags) Method
ClearFlags value that specifies the elements to clear.

In This Topic
    Clear(ClearFlags) Method
    In This Topic
    Clears the grid.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Clear( _
       ByVal clearFlags As ClearFlags _
    ) 
    public void Clear( 
       ClearFlags clearFlags
    )

    Parameters

    clearFlags
    ClearFlags value that specifies the elements to clear.
    Remarks
    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