WinForms Navigation Bar

Additional Features

 

Automatic Caption Word Wrapping for Groups and Items

If a control becomes too narrow to contain a link's captions, they are automatically word wrapped. If you want to implement the same for group headers, just set the group header style's WordWrap attribute to True.

Customizable Distances Between Groups and Links

If standard distances between groups and links don't suit your application's requirements, you can make use of the following settings offered by the XtraNavBar:

  • ExplorerBarGroupInterval - sets the distance between individual groups when explorer bar views are used;
  • LinkInterval - specifies the distance between links;
  • ExplorerBarGroupOuterIndent - sets the distance between the control's edges and groups provided that an explorer bar view is applied.

Hit Information

A common task when manually handling mouse events is to determine what element is currently under the pointer. The XtraNavBar control gives you an easy way to implement this - just call the control's CalcHitInfo method passing the mouse's position to it. The returned object's properties provide you with all the necessary information.

Saving and Restoring the XtraNavBar's Layout

With the XtraNavBar, you can allow your end users to drag links between groups, create new groups and dynamically populate them with links, etc. Because your users may customize the NavBar as they require, you may want to save and restore the control's layout when the application is executed again. This can easily be done via the following methods:

  • Registry;
  • XML files;
  • Streams.

Customizable Hints and Cursors for Every Group and Item

You can specify how the mouse cursor should look when it's positioned over a group header or link using the control's HotTrackedGroupCursor and HotTrackedItemCursor properties. The following settings are available for customizing the behavior and contents of hints:

  • You can specify each group's or item's hint text using its Hint property;
  • The availability and behavior of hints can be changed using the control's ShowGroupHint, ShowGroupHint and ShowHintInterval properties;
  • The control's GetHint event lets you customize the contents and appearance of hints.

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.