Back to Devexpress

BarToolbarsListItem.ShowDockPanels Property

windowsforms-devexpress-dot-xtrabars-dot-bartoolbarslistitem-f95bb202.md

latest2.6 KB
Original Source

BarToolbarsListItem.ShowDockPanels Property

Gets or sets whether a list of the existing dock panels should be displayed.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
public virtual bool ShowDockPanels { get; set; }
vb
<DefaultValue(False)>
Public Overridable Property ShowDockPanels As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true to display the list of the existing dock panels; otherwise, false.

|

Remarks

Dock panels can be added to the form using the DockManager component. For a BarToolbarsListItem object to display the names of the existing dock panels you need to set the ShowDockPanels property to true and ensure that the BarManager.DockManager property is set to the DockManager component (the owner of the dock panels). If you create a BarManager or DockManager component in code, you must initialize the BarManager.DockManager property manually. When creating the BarManager and DockManager components at design time, this property is initialized automatically.

Note

Auto-hidden dock panels are not displayed by the BarToolbarsListItem.

See Also

ShowToolbars

DockManager

BarToolbarsListItem Class

BarToolbarsListItem Members

DevExpress.XtraBars Namespace