Bar

BarManager.DockManager Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
[DefaultValue(null)]
public DockManager DockManager { get; set; }
<Browsable(False)>
<DefaultValue(Nothing)>
Public Property DockManager As DockManager

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