Back to Devexpress

NavBarItem.Links Property

windowsforms-devexpress-dot-xtranavbar-dot-navbaritem-e8373475.md

latest2.3 KB
Original Source

NavBarItem.Links Property

Gets the collection of links which refer to the item.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[Browsable(false)]
public NavReadOnlyLinkCollection Links { get; }
vb
<Browsable(False)>
Public ReadOnly Property Links As NavReadOnlyLinkCollection

Property Value

TypeDescription
NavReadOnlyLinkCollection

A NavReadOnlyLinkCollection collection containing links which refer to the item.

|

Remarks

NavBarControls hold collections of groups and items. These can be accessed via the NavBarControl.Groups and NavBarControl.Items properties. Groups display links that refer to items in order to get their settings. Links are stored in each group’s NavBarGroup.ItemLinks collection.

The Links property allows you to access the collection of all links which refer to the item. This property value is represented by a NavReadOnlyLinkCollection object, which doesn’t provide the ability to modify the collection. You can only access individual links via this property.

See Also

Items

Groups

ItemLinks

NavBarItemLink

NavBarItem Class

NavBarItem Members

DevExpress.XtraNavBar Namespace