DockPanelCollection.Clear() Method
In This Article
Removes all panels from the collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Remarks
Use the Clear method to remove all ASPxDockPanel objects from the DockPanelCollection collection. All panels that are docked to the zone which owns the collection are undocked.
To remove an individual panel use the DockPanelCollection.Remove method.
A panel can be added to the collection by using the DockPanelCollection.Add method. To obtain the particular panel in a collection, use the DockPanelCollection.FindByUID method.
See Also