Skip to main content

NavBarControl() Constructor

Creates a new NavBarControl object.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v23.2.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

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