Bar

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.v20.1.dll

Declaration

[DefaultValue(null)]
[DXCategory("Appearance")]
public virtual BarAndDockingController Controller { get; set; }
<DefaultValue(Nothing)>
<DXCategory("Appearance")>
Public Overridable Property Controller As BarAndDockingController

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