Skip to main content

NavItemCollection.Add(NavBarItem) Method

Adds the specified item to the collection.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v23.2.dll

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

Declaration

public NavBarItem Add(
    NavBarItem item
)

Parameters

Name Type Description
item NavBarItem

A NavBarItem object to add to the collection.

Returns

Type Description
NavBarItem

The NavBarItem object added to the collection. This method returns the object passed as the method’s parameter.

See Also