[Expand]General Information
[Collapse]WinForms Controls
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Map Control
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Collapse]Navigation Controls
   [Collapse]Navigation Bar
      Navigation Bar Appearance Specifics
      Navigation Bar Look And Feel Specifics
      Navigation Bar Custom Painting Specifics
     Save and Restore Layout
    [Expand]Member Tables
     NavBarControl to AccondionControl Converter
   [Expand]Accordion Control
    Navigation Frame and Tab Pane
    Navigation Pane
    Tile Bar
   [Expand]TileNav Pane
    WindowsUI Button Panel
   [Expand]Office Navigation Bar
   [Expand]Tile Control
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Navigation Bar Look And Feel Specifics

There are two scenarios for changing the NavBarControl's look and feel:

  • The first one is appropriate if you want the control's look and feel to always be consistent with the form's or application's look and feel. When changing the form's or application's look and feel, the NavBarControl should automatically change its paint scheme. To implement this task, you can customize the default look and feel scheme (for instance, via the DefaultLookAndFeel component) that is applied to all DevExpress WinForms controls.

    By default, the NavBarControl is painted using an Explorer Bar View rendered using the selected look and feel scheme. You can select a different type of View for the NavBarControl via the NavBarControl.PaintStyleKind property. It can be one of the following: Navigation Pane, Explorer Bar View or Side Bar View. After the required type of View has been selected, the NavBarControl will be automatically rendered using this View in the selected look and feel scheme. Please refer to the Look And Feel and Skinning topic, to learn about other scenarios for customizing the look and feel scheme.

  • Another way to customize the control's paint scheme is to explicitly apply a specific View to the control via the NavBarControl.PaintStyleName property. A View assigned via this property will be rendered using a predefined look and feel scheme, dependent on the selected View. So, this approach is applicable when you know exactly which View and look and feel settings you require.

Expanded See Also

Is this topic helpful?​​​​​​​