Skip to main content
A newer version of this page is available. .

Bar.ItemLinks Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.2.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ItemLinks property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also