Bar.ItemLinks Property

Gets the collection of item links belonging to the current bar.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

Property Value

Type Description
BarItemLinkCollection

A BarItemLinkCollection object representing the collection of item links belonging to the bar.

Remarks

A bar item link is the visual element that represents an item and is displayed in a bar or menu. You can create several links that refer to the same bar item. When any link is pressed, the associated item's functionality will be activated. You can get all the links for a specific item via the BarItem.Links property.

Use the ItemLinks property to access the collection of item links owned by a bar. The collection allows you to add, remove and access individual links. You can also create a link for a specific item via the Bar.AddItem property.

DevExpress Ribbon, Menu and Docking Library provides a number of item link types, each of which represents the bound item in a specific manner. The base class for all item links is BarItemLink. Refer to the Bar Item Links section for more information.

Implements

DevExpress.XtraBars.BarLinksHolder.ItemLinks
See Also