Skip to main content

NavLinkCollection Class

Represents a collection of links between a group and items.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

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