NavBarItemLink(NavBarItem) Constructor
Creates an instance of the NavBarItemLink class.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v24.2.dll
Declaration
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