Bar.Appearance Property

Specifies appearance settings for the bar.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public virtual AppearanceObject Appearance { get; }
<Browsable(False)>
Public Overridable ReadOnly Property Appearance As AppearanceObject

Property Value

Type Description
AppearanceObject

An AppearanceObject object representing appearance settings for the bar.

Remarks

Use the Appearance object to customize the bar's appearance. It allows you to specify the background and foreground colors, gradient mode, font settings and a background image. The background image will be displayed if you set alpha components for background colors.

It is possible to customize the appearance settings for individual bar items. For this purpose, use the BarItem.Appearance property.

The BarAndDockingController control provides the BarAndDockingController.AppearancesBar property, and this gives you centralized control over the appearance of your bars.

For information on which appearance options are in effect in various painting schemes when a bar object is used as a regular bar, main menu or status bar, see the BarManagerAppearances.Bar, BarManagerAppearances.MainMenu and BarManagerAppearances.StatusBar topics respectively.

See the Appearance and Look and Feel topic, for more information.

See Also