DockManager.Clear() Method

Destroys all panels.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.2.dll


public void Clear()


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