BarItemLinkCollection.AddRange(IEnumerable<BarItemLink>) Method
Adds multiple BarItemLink items to the BarItemLinkCollection.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
items | IEnumerable<BarItemLink> | An IEnumerable collection of BarItemLink items to add to the BarItemLinkCollection. |
Remarks
The following code snippet adds two BarItemLink items to a bar:
using DevExpress.XtraBars;
using System.Collections.Generic;
// ...
bar1.ItemLinks.AddRange(new List<BarItemLink>() { link1, link2 });
See Also