Skip to main content

NavBarItem Class

Represents an individual item within the NavBarControl control.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v24.1.dll

NuGet Package: DevExpress.Wpf.NavBar


public class NavBarItem :


The NavBarItem class implements the functionality of an individual navbar item within the NavBarControl. Items are represented by instances of the NavBarItem class which can be accessed via the NavBarGroup.Items property of a group. This property returns the NavBarItemCollection collection which allows you to add and delete items within a group.

Use properties of the NavBarItem class to specify the appearance and behavior of an individual item. You can define the NavBarItem.Content and NavBarItem.ImageSource properties to specify an item’s caption text and image displayed in the item. An item’s visibility and availability to end-users can be controlled via the NavBarItem.IsVisible and DXFrameworkContentElement.IsEnabled properties.

Use the NavBarItem.IsSelected property to determine the selected state of an item.

Using the NavBarItem.VisualStyle property, you can define a visual style to be applied to an item.

To learn more, see the Items topic.

The following code snippets (auto-collected from DevExpress Examples) contain references to the NavBarItem class.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also