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

NavBarItemLink(NavBarItem) Constructor

Creates an instance of the NavBarItemLink class.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

public NavBarItemLink(
    NavBarItem item
)

#Parameters

Name Type Description
item NavBarItem

A NavBarItem object specifying the item to which the created link corresponds.

#Remarks

The constructor is used to create and initialize a new NavBarItemLink object. The parameter value is assigned to the NavBarItemLink.Item property. Note that if the item parameter is null (Nothing in Visual Basic), an exception is raised.

This method is not designed to be used directly from your code. Links are created by calling the NavLinkCollection.Add method. The NavLinkCollection object can be accessed via the NavBarGroup.ItemLinks property.

See Also