Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.NavBar

#Declaration

public Binding MenuItemDisplayBinding { get; set; }

#Property Value

Type Description
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.

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