Back to Devexpress

PopupMenu.MenuCaption Property

windowsforms-devexpress-dot-xtrabars-dot-popupmenu-8747bd8c.md

latest1.9 KB
Original Source

PopupMenu.MenuCaption Property

Gets or sets the menu’s caption.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue("")]
[DXCategory("Appearance")]
public virtual string MenuCaption { get; set; }
vb
<DefaultValue("")>
<DXCategory("Appearance")>
Public Overridable Property MenuCaption As String

Property Value

TypeDefaultDescription
StringString.Empty

A string that specifies the menu’s caption.

|

Remarks

If the PopupMenu.ShowCaption property is set to true , the menu displays a header panel. The MenuCaption property specifies the text displayed within the header. The following image shows a menu with the MenuCaption 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

ShowCaption

MenuCaption

BarHeaderItem

PopupMenu Class

PopupMenu Members

DevExpress.XtraBars Namespace