Skip to main content
Tab

DockPanelCollection.Clear() Method

Removes all panels from the collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public void Clear()

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.

Implements

See Also