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.v20.1.dll


public string MenuCaption { get; set; }
Public Property MenuCaption As String

Property Value

Type Default Description


A string that specifies the menu caption.


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:


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

See Also