Skip to main content
A newer version of this page is available. .
Bar

BarManager.DockManager Property

Gets or sets the DockManager which coordinates any docking operations performed on dock panels.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[Browsable(false)]
[DefaultValue(null)]
public DockManager DockManager { get; set; }

Property Value

Type Default Description
DockManager *null*

A DockManager object representing the dock manager.

Remarks

When a Bar Manager resides within a form the layout of the dock panels and the layout of the bars on the form can be saved simultaneously to the same destination. For this purpose, the dock manager should be assigned to the BarManager’s DockManager property. The layouts of the dock panels and bars can then be saved automatically or manually.

Note when adding a dock manager at design time to a form which contains a Bar Manager or vice versa, the BarManager’s DockManager property will be initialized automatically.

See Also