Back to Devexpress

NavLinkCollection Class

windowsforms-devexpress-dot-xtranavbar-42c04cd6.md

latest2.4 KB
Original Source

NavLinkCollection Class

Represents a collection of links between a group and items.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[ListBindable(false)]
public class NavLinkCollection :
    Collection,
    IEnumerable<NavBarItemLink>,
    IEnumerable
vb
<ListBindable(False)>
Public Class NavLinkCollection
    Inherits Collection
    Implements IEnumerable(Of 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

Object CollectionBase Collection NavLinkCollection

See Also

NavLinkCollection Members

ItemLinks

NavBarGroup

Groups

DevExpress.XtraNavBar Namespace