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

Gets or sets the bar and dock controller that will provide default appearance and customization options for the bars belonging to the current BarManager.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Default Description
BarAndDockingController null

A BarAndDockingController object providing appearance options.

#Remarks

Use the Controller property to explicitly assign a BarAndDockingController to the current BarManager. The BarAndDockingController provides various appearance and style settings for the bars owned by the BarManager.

If this property specifies a null value, the Bar Manager uses the DefaultBarAndDockingController‘s settings. Otherwise, the appearance settings are fetched from the assigned BarAndDockingController. The actual controller currently used can be obtained by calling the BarManager.GetController method.

See Look and Feel for more information.

See Also