Back to Devexpress

MenuAppearance.MenuCaption Property

windowsforms-devexpress-dot-xtrabars-dot-menuappearance-d0f21ceb.md

latest2.2 KB
Original Source

MenuAppearance.MenuCaption Property

Provides appearance settings used to paint menu headers.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual AppearanceObject MenuCaption { get; }
vb
Public Overridable ReadOnly Property MenuCaption As AppearanceObject

Property Value

TypeDescription
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 OptionOffice 2000Office 2003Windows XPSkinning 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

ShowCaption

ShowMenuCaption

MenuAppearance Class

MenuAppearance Members

DevExpress.XtraBars Namespace