Back to Devexpress

Navigation Bar

wpf-6189-controls-and-libraries-navigation-controls-navigation-bar.md

latest4.8 KB
Original Source

Navigation Bar

  • Apr 01, 2021
  • 4 minutes to read

Tip

The NavBarControl was designed to replicate the layout of the navigation pane in Outlook 2003, Outlook 2007, and older versions of Microsoft Explorer.

If you start a new project, consider using the AccordionControl. The AccordionControl can also be used as a navigation pane, but it has a simpler API and provides more room for customization.

The Navigation Bar is a well-known variation of the side navigation bar that features collapsible groups with items within it. Key features include:

  • Three available Views that affect NavBar Control behavior and appearance.
  • Layout flexibility and runtime customization options.
  • The capability to embed any control to a NavBar item.
  • Provides a set of built-in commands that allow programming various actions in XAML markup.
  • Interaction with Office Navigation Bar.

Tip

Topics : Product Class Structure | Examples

Views

The Navigation Bar content is built using groups and their child items. The way these essential Navigation Bar elements look and behave depends on the currently applied View. This section is dedicated to Views and contains the overall information on applying, customizing and templating these Views.

Explorer Bar View

Navigation Pane View

Side Bar View

Groups

Groups are expandable elements that have header and content areas, and are designed to contain clickable items or any custom content. You can provide global group settings on the View level, as well as customize specific groups individually. Refer to the links below to learn more about Navigation Bar groups.

Items

Items are objects of the NavBarItem class hosted within Navigation Bar groups. These are clickable elements that can display content (a text string or any custom content) and an image.

Miscellaneous

This section contains documents dedicated to other Navigation Bar features.