Skip to main content
A newer version of this page is available. .
Bar

BarManager.DockControls Property

Gets the collection of controls that provide docking for bars.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DockControls property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also