Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / Clear Method


    Clear Method (GridControl)
    Clears the entire content of the grid including the data binding and styles and collections.
    Syntax
    'Declaration
     
    Public Sub Clear() 
     
    'Usage
     
    Dim instance As GridControl
     
    instance.Clear()
    Remarks

    Any GridElement that was added to the grid and any style that was applied to the grid will be removed. The DataMember and DataSource properties will be set to a null reference (Nothing in Visual Basic).

    Requirements

    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

    See Also