windowsforms-devexpress-dot-xtrabars-dot-menuappearance-d0f21ceb.md
Provides appearance settings used to paint menu headers.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public virtual AppearanceObject MenuCaption { get; }
Public Overridable ReadOnly Property MenuCaption As AppearanceObject
| Type | Description |
|---|---|
| AppearanceObject |
An AppearanceObject that provides corresponding appearance settings.
|
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