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.Dispose() Method

In This Article

Releases all resources used by this NavBarItemLink object.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

public virtual void Dispose()

#Remarks

Links are created via the NavLinkCollection.Add method. The NavLinkCollection object can be accessed via the NavBarGroup.ItemLinks property. Calling this method results in creating a new NavBarItemLink object and adding it to the NavLinkCollection collection.

The Dispose method releases all resources allocated by the NavBarItemLink object and removes the corresponding reference from the NavLinkCollection collection to which it belongs.

See Also