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]ASP.NET Core 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]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Navigation Bar Appearance Specifics

The XtraNavBar control provides properties that allow you to customize the appearance (background and foreground colors, background images, font settings, etc) of its elements.

Note

If a NavBarControl is painted using a skinning or WindowsXP paint scheme, changing the background color(s) of specific elements is not in effect. In this instance, these elements are painted according to the current paint scheme.

Expanded Common Appearance Settings

To change common appearance settings of groups and items, and to change the appearance of other elements (scroll buttons, Navigation Pane elements, hints, etc), use properties provided by the NavBarControl.Appearance object. Each of these properties, represented by the AppearanceObject class instance, contains style settings:

When style settings are empty or set to their default values, the corresponding elements are painted using the default style settings, according to the current paint scheme. You can access actual style settings currently being applied via the NavBarControl.PaintAppearance property.

Expanded Appearance of Individual Groups and Items

You can customize common appearance settings for groups and items via the NavBarControl.Appearance object. However, if you need to change the appearance of individual groups and items, use the appearance properties provided by these objects. All these properties have the "Appearance" prefix:

A NavBarControl group's appearance settings:

A NavBarControl item's appearance settings:

For links to the appearance properties provided by groups and items, see Member Table: Appearances.

Appearance properties provided by groups and items have a higher priority than the common appearance settings specified by the NavBarControl.Appearance object.

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