Back to Devexpress

PopupMenu.ShowCaption Property

windowsforms-devexpress-dot-xtrabars-dot-popupmenu-22436b5c.md

latest2.0 KB
Original Source

PopupMenu.ShowCaption Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool ShowCaption { get; set; }
vb
<DefaultValue(False)>
<DXCategory("Appearance")>
Public Overridable Property ShowCaption As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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”:

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

PopupMenu.MenuCaption

MenuAppearance.MenuCaption

ShowMenuCaption

BarHeaderItem

PopupMenu Class

PopupMenu Members

DevExpress.XtraBars Namespace