Skip to main content
Bar

PopupMenuBase.ItemLinks Property

Provides access to links owned and displayed by the popup menu.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

Property Value

Type Description
BarItemLinkCollection

A BarItemLinkCollection object containing links owned by the popup menu.

Remarks

Use the ItemLinks property to add, remove or modify links owned by the popup menu. These links are displayed at the root level of the popup menu.

You can also use the PopupMenuBase.AddItem, PopupMenuBase.InsertItem, PopupMenuBase.RemoveLink, etc. methods to manipulate the link collection. These methods are equivalent to methods provided by the ItemLinks collection.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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