BarItemLink.Links Property

Gets the link collection that owns the current link.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll


Property Value

Type Description

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


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