BarItemLinkReadOnlyCollection Class
A read-only bar item link collection.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v18.1.dll
Declaration
public class BarItemLinkReadOnlyCollection :
ReadOnlyListBase,
IList,
ICollection,
IEnumerable
Related API Members
The following members accept/return BarItemLinkReadOnlyCollection objects:
Remarks
Bars provide the Bar.VisibleLinks collection so that you can process currently visible bar item links. This collection is automatically updated by the bar when links change their visible state. You are not allowed to add or remove individual link objects. You can only access link object(s) or determine whether a collection contains a particular link. Such read-only collection functionality is implemented by the BarItemLinkReadOnlyCollection class.
This class also serves as a base for the BarItemLinkCollection class which represents the collection of links to bar items.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BarItemLinkReadOnlyCollection class.
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.