Skip to main content

BandCollection.AddRange(Band[]) Method

Adds an array of Band objects to the collection.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v22.1.dll


public void AddRange(
    Band[] bands


Name Type Description
bands Band[]

An array of Band objects to add to the collection.


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.

See Also