Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [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]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Collapse]Navigation Controls
   [Collapse]Navigation Bar
     Views
    [Collapse]Appearance
      Navigation Bar Appearance Specifics
      Navigation Bar Look And Feel Specifics
      Navigation Bar Custom Painting Specifics
     Save and Restore Layout
    [Expand]Examples
    [Expand]Member Tables
   [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]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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 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

How would you rate this topic?​​​​​​​