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

MenuAppearance.MenuCaption Property

Provides appearance settings used to paint menu headers.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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