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

DocumentManager.BarAndDockingController Property

Gets or sets the BarAndDockingController that will provide default appearance options for the DocumentManager‘s elements.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(null)]
public virtual BarAndDockingController BarAndDockingController { get; set; }

Property Value

Type Default Description
BarAndDockingController *null*

A BarAndDockingController object providing appearance options.

Remarks

Use the BarAndDockingController property to explicitly assign a BarAndDockingController to a DocumentManager. The BarAndDockingController provides settings that allow you to control the default appearance of the DocumentManager‘s elements. These settings are accessible via the BarAndDockingController.AppearancesDocumentManager object.

If the BarAndDockingController property is set to null, the DocumentManager uses the Default BarAndDockingController’s settings. Otherwise, the appearance settings are obtained from the assigned BarAndDockingController. The Default BarAndDockingController can be obtained via the static BarAndDockingController.Default property or via the DefaultBarAndDockingController component.

See the Bar and Docking Controllers (Customizing Default View and Behavior Settings) document for more information.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BarAndDockingController 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