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

BarCustomContainerItem.ShowMenuCaption Property

Gets or sets whether the menu header is visible when the current object’s items are displayed as a popup menu.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
public bool ShowMenuCaption { get; set; }

#Property Value

Type Default Description
Boolean false

true if the menu header is visible; otherwise, false.

#Remarks

Use the ShowMenuCaption property to make a menu header visible. The menu header is only available when elements of the current BarCustomContainerItem object are displayed as a popup menu. To specify the text displayed within the menu header use the BarCustomContainerItem.MenuCaption property.

The following image shows a Save submenu whose caption displays the “Save Menu” string:

SubMenu_Caption

Clicking on the menu caption has no effect. It’s only used to display any information (for instance, the menu’s name).

See Also