Skip to main content
Bar

PopupMenu.MenuCaption Property

Gets or sets the menu’s caption.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue("")]
[DXCategory("Appearance")]
public virtual string MenuCaption { get; set; }

Property Value

Type Default Description
String String.Empty

A string that specifies the menu’s caption.

Remarks

If the PopupMenu.ShowCaption property is set to true, the menu displays a header panel. The MenuCaption property specifies the text displayed within the header. The following image shows a menu with the MenuCaption set to “Edit Menu”:

PopupMenu_MenuCaption

Clicking on the menu’s header has no effect. It’s only designed to display specific information (for instance, the menu’s name).

See Also