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.v21.1.dll

Declaration

public Dock ClosedPanelsBarPosition { get; set; }

Property Value

Type Description
Dock

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

Remarks

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.

Example

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

<dx:ThemedWindow 
  ...
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
  <dxdo:DockLayoutManager ClosedPanelsBarVisibility="Auto" 
  ClosedPanelsBarPosition="Bottom">
    <dxdo:DockLayoutManager.ClosedPanels>
      <dxdo:LayoutPanel x:Name="paneProperties" Caption="Properties">
        <RichTextBox />
      </dxdo:LayoutPanel>
      <dxdo:LayoutPanel x:Name="paneMessages" Caption="Messages">
        <RichTextBox />
      </dxdo:LayoutPanel>
    </dxdo:DockLayoutManager.ClosedPanels>
    <dxdo:LayoutGroup>
      <dxdo:LayoutPanel x:Name="paneFindResults" Caption="Find Results">
        <RichTextBox />
      </dxdo:LayoutPanel>
    </dxdo:LayoutGroup>
  </dxdo:DockLayoutManager>
</dx:ThemedWindow>

See Also