BarManager.DockManager Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll


public DockManager DockManager { get; set; }

Property Value

Type Default Description


A DockManager object representing the dock manager.


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