Skip to main content

DockLayoutManager.ClosedPanelsBarPosition Property

Gets or sets the Closed Panels bar’s position. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking


public Dock ClosedPanelsBarPosition { get; set; }

Property Value

Type Description

A Dock enumerator value specifying the closed panels bar’s position.


Depending on the DockLayoutManager.ClosingBehavior and BaseLayoutItem.AllowClose properties, panels within a DockLayoutManager can be added to the closed panels collection on close. You can access this collection with the DockLayoutManager.ClosedPanels property.

An end user can restore a panel from the closed state with the Closed Panels bar, whose visibility is controlled by the DockLayoutManager.ClosedPanelsBarVisibility property. The bar displays buttons for every closed panel in the DockLayoutManager.ClosedPanels collection. This bar can be docked to any DockLayoutManager‘s side with the ClosedPanelsBarPosition property.


The following code sample displays the Closed Panels bar at the DockLayoutManager’s bottom:

  <dxdo:DockLayoutManager ClosedPanelsBarVisibility="Auto" 
      <dxdo:LayoutPanel x:Name="paneProperties" Caption="Properties">
        <RichTextBox />
      <dxdo:LayoutPanel x:Name="paneMessages" Caption="Messages">
        <RichTextBox />
      <dxdo:LayoutPanel x:Name="paneFindResults" Caption="Find Results">
        <RichTextBox />

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ClosedPanelsBarPosition property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also