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

PopupMenu.ShowCaption Property

Gets or sets whether the menu’s header is visible.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool ShowCaption { get; set; }

#Property Value

Type Default Description
Boolean false

true if the menu’s header is displayed; otherwise, false.

#Remarks

Set the ShowCaption property to true to display the menu’s header. To provide text for the menu’s header use the PopupMenu.MenuCaption property. The following image shows a menu with the ShowCaption 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