Skip to main content
Bar

BarItemLink.Links Property

Gets the link collection that owns the current link.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

Property Value

Type Description
BarItemLinkReadOnlyCollection

A BarItemLinkReadOnlyCollection object, representing the link collection that owns the current link.

Remarks

If the link resides within a bar, the Links property returns the bar’s Bar.ItemLinks property value. If the link is contained within an item, this property returns the link collection owned by the container item. Such a collection is specified by the item’s BarCustomContainerItem.ItemLinks property.

Use the link’s BarItemLink.OwnerItem property to access its container item. To access the link’s corresponding item, use the BarItemLink.Item property.

See Also