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


In This Topic
    Clear Method (DetailGrid)
    In This Topic
    Clears the entire content of the grid including the data binding and styles and collections.
    Syntax
    'Declaration
     
    Public Overridable Sub Clear() 
    'Usage
     
    Dim instance As DetailGrid
     
    instance.Clear()
    public virtual void 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