BandCollection.AddRange(Band[]) Method
Adds an array of Band objects to the collection.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v20.2.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
bands | Band[] | An array of Band objects to add to the collection. |
Remarks
The AddRange method can be used to quickly add a group of bands to the collection instead of having to manually add each band to the collection using the BandCollection.Add method.
The Band objects contained in the array passed as the parameter are appended to the end of the collection. Note that if any of the bands being added already exist in the collection the existing bands will be retained in the collection and the new duplicate bands ignored.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AddRange(Band[]) method.
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.