Bar

BarManagerAppearances.MainMenuAppearance Property

Provides appearance settings used to paint BarItemLinks within main menu bars in different visual states.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public StateAppearances MainMenuAppearance { get; }
Public ReadOnly Property MainMenuAppearance As StateAppearances

Property Value

Type Description
StateAppearances

A StateAppearances object which provides appearance settings used to paint BarItemLinks within main menu bars in different visual states.

Remarks

You can define default appearance settings for bar item links displayed in bars, main menus and status bars within a single or multiple forms via BarAndDockingControllers. This can be accomplished via the BarManagerAppearances.BarAppearance, MainMenuAppearance and BarManagerAppearances.StatusBarAppearance properties, available via BarAndDockingController.AppearancesBar object.

The Bar.BarAppearance property allows you to override the default appearance settings for individual bars. To override appearance settings for individual bar item links, use the BarItem.ItemAppearance and BarItem.ItemInMenuAppearance properties.

Only the Font and ForeColor properties are in effect in skinning paint schemes. See Look and Feel to learn more.

See Also