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.MenuCaption Property

Gets or sets a caption displayed when the current object’s items are represented as a popup menu.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Default Description
String String.Empty

A string that specifies the menu caption.

#Remarks

If items that belong to the current BarCustomContainerItem object, represent a popup menu, the menu’s header can be made visible to display any textual information (for instance, the menu’s name). Use the BarCustomContainerItem.ShowMenuCaption property to display the menu’s header and the MenuCaption property to specify the display text.

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