Skip to main content
A newer version of this page is available. .

NavBarItemLink.Dispose() Method

Releases all resources used by this NavBarItemLink object.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v19.1.dll

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