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.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
ClosedPanelsBarVisibility | A ClosedPanelsBarVisibility value that specifies 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 provides access to closed panels. For each closed panel, it displays a button with the panel’s caption. Clicking this button restores the panel to its previous position:
By default, an end-user can display the Closed Panels bar by selecting the Closed Panels item from a context menu (invoked by right-clicking a panel’s caption or header area). To learn more about the context menus, see the DockLayoutManager.ContextMenuCustomizations and DockLayoutManager.ItemSelectorMenuCustomizations topics.
The ClosedPanelsBarVisibility property specifies whether and how the Closed Panels bar is accessible to end-users. To disable the Closed Panels bar, set the ClosedPanelsBarVisibility property to Never.
The Closed Panels bar can be docked to any DockLayoutManager‘s side. Use the DockLayoutManager.ClosedPanelsBarPosition property to specify its location.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references 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.