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


public bool ShowMenuCaption { get; set; }
Public Property ShowMenuCaption As Boolean

Property Value

Type Default Description


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


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:


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

See Also