WinForms Navigation Bar

Built-in Link Arrangement Styles

 

The XtraNavBar presents its contents as a set of expandable groups containing either links or embedded controls. You can specify what to display within a group and how to arrange its links using the group's GroupStyle property. Since flexibility is at the heart of the XtraNavBar, the mechanism used for link customization is not dpendant upon the layout you select. You never have to guess whether your users prefer large images with captions below or small images to the left. You only need to specify the images and captions for your items and let your users decide which layout they like the most - all with only one line of code!

Small Images Layout

Groups use this links layout when their GroupStyle property is set to SmallIconsText. Such a layout implies that:

  • Links display the images specified by their SmallImageIndex or SmallGlyph property;
  • Link images are displayed to the left of their text;
  • Links are arranged vertically one under another.

Large Images Layout

Groups use this links layout when their GroupStyle property is set to LargeIconsText. Such a layout implies that:

  • Links display images specified by their LargeImageIndex or LargeGlyph property;
  • Link text is displayed under the link image;
  • Links are arranged vertically one under another.

Icons Flow Layout

You can enable such a layout for a group by setting the GroupStyle property to SmallIconsList or LargeIconsList. In these instances, the group displays only the icons of items arranged into rows. Depending upon the selected GroupStyle property value, either small or large icons are displayed.

Link Selection Support

If you are using the SideBar or Navigation Pane paint style, you can enable link selection and only need to set the control's AllowSelectedLink property to True for this purpose. Additionally, you can specify whether the control has a single link selected or each group can have its own selected link. Use the EachGroupHasSelectedLink property to control this behavior.

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.