Back to Devexpress

BarManager.MainMenu Property

wpf-devexpress-dot-xpf-dot-bars-dot-barmanager-2bedc9fa.md

latest1.4 KB
Original Source

BarManager.MainMenu Property

Gets or sets the main menu. This is a dependency property.

Namespace : DevExpress.Xpf.Bars

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
[Browsable(false)]
public Bar MainMenu { get; set; }
vb
<Browsable(False)>
Public Property MainMenu As Bar

Property Value

TypeDescription
Bar

A Bar object that represents the main menu.

|

Remarks

You can specify that a bar must be used as the main menu, by setting the MainMenu property or by setting the bar’s Bar.IsMainMenu property to true. See the Bar.IsMainMenu topic, to learn which features are specific to the main menu.

See Also

IsMainMenu

BarManager Class

BarManager Members

DevExpress.Xpf.Bars Namespace