Back to Devexpress

NavBarGroup.MenuItemDisplayBinding Property

wpf-devexpress-dot-xpf-dot-navbar-dot-navbargroup-5d0bb50c.md

latest1.8 KB
Original Source

NavBarGroup.MenuItemDisplayBinding Property

Gets or sets the binding that determines which Header object’s property is displayed in the NavBar menu.

Namespace : DevExpress.Xpf.NavBar

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public Binding MenuItemDisplayBinding { get; set; }
vb
Public Property MenuItemDisplayBinding As Binding

Property Value

TypeDescription
Binding

A BindingBase object specifying which property is displayed in the NavBar menu.

|

Remarks

The menu item displays the NavBarGroup.Header.ToString() value by default.

xaml
<dxn:NavBarGroup MenuItemDisplayBinding="{Binding Content}">  
    <dxn:NavBarGroup.Header>  
        <Label Content="Periods :"></Label>  
    </dxn:NavBarGroup.Header>  
</dxn:NavBarGroup>

See Also

NavBarGroup Class

NavBarGroup Members

DevExpress.Xpf.NavBar Namespace