Back to Devexpress

BarManager.DockManager Property

windowsforms-devexpress-dot-xtrabars-dot-barmanager-483e5e66.md

latest2.2 KB
Original Source

BarManager.DockManager Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DockManagernull

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

Saving and Restoring the Layout of Dock Panels

Saving and Restoring a Bars Layout Automatically

BarManager Class

BarManager Members

DevExpress.XtraBars Namespace