Skip to main content

DockLayoutManager.ClosedPanelsBarVisibility Property

Gets or sets the visibility state for the Closed Panels bar. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

public ClosedPanelsBarVisibility ClosedPanelsBarVisibility { get; set; }

Property Value

Type Description
ClosedPanelsBarVisibility

The visibility state for the Closed Panels bar.

Available values:

Name Description
Default

The same as the ClosedPanelsBarVisibility.Manual option.

Manual

The Closed Panels bar is visible if an end-user enabled it via a context menu.

Auto

The Closed Panels bar is made visible if any closed panel exists. It’s possible to hide and then restore the bar via a context menu.

Never

The Closed Panels bar is always hidden and cannot be made visible via a context menu.

Remarks

The Closed Panels bar gives you access to closed panels. For each closed panel, it displays a button with the panel’s caption. Click the button to restore the panel to its previous position.

ClosedPanelsBar

An end user can right-click a panel’s caption or header area and select the Closed Panels item to display the Closed Panels bar.

You can set the ClosedPanelsBarVisibility property to Never to disable the Closed Panels bar.

Tip

Refer to the following topics for more information on context menus:

Position

Use the DockLayoutManager.ClosedPanelsBarPosition property to specify its location.

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

Note

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