Skip to main content

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

NavBarControl() Constructor

In This Article

Creates a new NavBarControl object.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

public NavBarControl()

#Remarks

Use the constructor to create a new NavBarControl control at runtime. No items and groups are created when using the constructor. Thus, you should modify item and group collections manually. Use the NavItemCollection and NavBarGroup class methods for this purpose. These objects are accessed via the NavBarControl.Items and NavBarControl.Groups properties. You should additionally use the NavLinkCollection class methods to assign items to groups. This object is accessed via the NavBarGroup.ItemLinks property.

See Also