Skip to main content
Bar

BarToolbarsListItem.ItemLinks Property

Provides access to the links owned and displayed by the container item.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

Property Value

Type Description
BarItemLinkCollection

A BarItemLinkCollection object containing the links owned and displayed by the container item.

Remarks

A BarToolbarsListItem item displays a list of items representing the available bars. You can insert a link to BarToolbarsListItem into a submenu, for instance. In this case, when the submenu is about to appear, the link will be substituted with the items representing available bars.

BarToolbarsListItem

The ItemLinks property provides access to links representing the available toolbars. These links will be displayed in place of the BarToolbarsListItem item. Note that the link collection is maintained automatically by the BarToolbarsListItem item. It is recreated each time the BarToolbarsListItem must be displayed. You can change the collection (add, remove specific items). However, these changes will be discarded before the BarToolbarsListItem is displayed.

If the bar’s BarOptions.Hidden property is set to true, BarToolbarsListItem will not add an item for this bar into its collection.

See Also