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.DockControls Property

Gets the collection of controls that provide docking for bars.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[ListBindable(false)]
public BarDockControls DockControls { get; }

#Property Value

Type Description
DevExpress.XtraBars.Helpers.Docking.BarDockControls

A BarDockControls object representing a collection of dock controls.

#Remarks

This collection stores regular and standalone bar dock controls that provide docking functionality for bars.

When a BarManager component is created, four dock controls are automatically created and added to the DockControls collection. Each dock control is docked to the side of a container control (form).

StandaloneBarDockControl objects created at design time are added to the DockControls collection automatically. If standalone bar dock controls are created at runtime, they must be added to the DockControls collection manually.

See Also