Skip to main content

ClosedPanelCollection Class

Represents a collection of closed (hidden) panels.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v14.2.dll

#Declaration

public class ClosedPanelCollection :
    ObservableCollection<LayoutPanel>,
    IDisposable

#Returned By

The DockLayoutManager.ClosedPanels property returns an instance of ClosedPanelCollection.

#Remarks

To create a closed (hidden) panel in XAML, you need to add it to the DockLayoutManager.ClosedPanels collection.

At runtime, an end-user can restore a panel from the closed (hidden) state via the Closed Panels bar, whose visibility is controlled by the DockLayoutManager.ClosedPanelsBarVisibility property. In code, a closed panel can be restored via the DockController.Restore or DockController.Dock method of the DockLayoutManager.DockController object.

See Also