FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid.Classic Namespace / C1FlexGridClassic Class / Clear Method / Clear(ClearFlags) Method
C1.Win.C1FlexGrid.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
    C1.Win.C1FlexGrid.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