Bar

MenuAppearance.MenuCaption Property

Provides appearance settings used to paint menu headers.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.1.dll

Declaration

public virtual AppearanceObject MenuCaption { get; }

Property Value

Type Description
AppearanceObject

An AppearanceObject that provides corresponding appearance settings.

Remarks

Menus can display headers which typically provide any descriptive information for end-users. The MenuCaption property contains settings to customize the menu headers appearance.

The following table summarizes which appearance options provided by the MenuCaption object are in effect in various painting schemes:

Appearance Option Office 2000 Office 2003 Windows XP Skinning Painting Scheme
BackColor + + + -
BackColor2 and GradientMode + + + -
Image + + + -
Font and ForeColor + + + +
BorderColor + + + -

To make menu headers visible for popups and submenus, use the PopupMenu.ShowCaption and BarCustomContainerItem.ShowMenuCaption properties respectively.

See Also