Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarManager.DockManager Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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