DevExpress v24.2 Update — Your Feedback Matters
Our What's New in v24.2 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
There are multiple ways to customize the NavBar appearance. The most powerful method is to implement the custom draw feature. This feature is implemented via a number of events.
Some of the NavBar elements keep their appearance regardless of the NavBar control state. These elements are:
- The control background
- The group client areas background
- The group client areas foreground
The corresponding custom draw events are listed below:
Event |
Description |
OnCustomDraw.Background |
Allows painting of the entire NavBar control background. |
OnCustomDraw.GroupClientBackground |
Allows painting of NavBar groups’ client areas. |
OnCustomDraw.GroupClientForeground |
Allows painting of NavBar groups’ client areas foreground. Handling this event gives you the ability to perform custom painting over the default painted group background, if you do not want the default group background painting to be overridden. For instance, you can use this event to display static text and images within a group instead of links. |
For information on the custom draw events parameters see the Custom Draw Basics topic.
See Also