Xceed Grid for WinForms v4.3 Documentation
Clear Method (GridControl)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : Clear Method
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()
public 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

Reference

GridControl Class
GridControl Members