Skip to main content

DevExpress v25.1 Update — Your Feedback Matters

Our What's New in v25.1 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

How to: Change the Navbar Control's View Type

The following example shows how to apply the Navigation Pane View type to a NavBarControl via the NavBarControl.PaintStyleKind property. Then, the default look and feel scheme is changed via the Default Look And Feel object. As a result, all controls, including the NavBarControl, will be painted using the “Money Twins” skin.

using DevExpress.LookAndFeel;
using DevExpress.XtraNavBar;

// Applies the Navigation Pane View type
navBarControl1.PaintStyleKind = NavBarViewKind.NavigationPane;

// Changes the default look and feel scheme to the Money Twins skin.
UserLookAndFeel.Default.Style = LookAndFeelStyle.Skin;
UserLookAndFeel.Default.SkinName = "Money Twins";