Skip to main content
A newer version of this page is available. .

Band.SubBands Property

Provides access to the band’s collection of sub-bands.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core

Declaration

[SRCategory(ReportStringId.CatStructure)]
public virtual SubBandCollection SubBands { get; }

Property Value

Type Description
SubBandCollection

A SubBandCollection object.

Remarks

Use this property to access the SubBandCollection belonging to a report band.

The following image illustrates the corresponding option in the context menu of an GUI.

report-sub-band-context-menu-end-user-designer

A band can have an unlimited number of sub-bands. Adding sub-bands is supported for all types of bands, except for the MarginBand and the SubBand itself.

After adding a sub-band to the collection, it provides a functional copy of the source band. A sub-band’s behavior, as well as its position within the report band hierarchy, is dictated by the source band type.

See Also