NavBarControl() Constructor

Creates a new NavBarControl object.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v20.1.dll


public NavBarControl()
Public Sub New


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