Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockManager.Clear() Method

In This Article

Destroys all panels.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void Clear()

#Remarks

The Clear method destroys all panels (visible, hidden and panels with their auto-hide functionality enabled).

Floating forms reside within floating forms represented by the DockPanel.FloatForm class objects. Auto-hidden panels reside within auto-hide containers (AutoHideContainer objects). In addition to all panels, the Clear method also destroys all floating forms and auto-hide containers associated with the dock manager.

See Also