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

NavLinkCollection Class

Represents a collection of links between a group and items.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

[ListBindable(false)]
public class NavLinkCollection :
    Collection,
    IEnumerable<NavBarItemLink>,
    IEnumerable

The following members return NavLinkCollection objects:

#Remarks

NavBarControl controls maintain a collection of groups and items. Each group maintains a collection of links to items. This collection is accessed via the NavBarGroup.ItemLinks property. The collection of groups (which allow you to obtain an individual group) is accessed via the NavBarControl.Groups property.

Note: the item’s contents are displayed within a group only if the corresponding link is created.

Use methods of NavLinkCollection to add, delete and move links within their collection. You can also access an individual link via the NavLinkCollection.Item property.

#Inheritance

See Also