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

Band Class

The base for classes that provide functionality to report bands.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll

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

Declaration

public abstract class Band :
    XRControl

Remarks

Any XtraReport consists of bands containing various report controls. The report, its bands and controls are all descendants of the XRControl class.

A default blank report contains a DetailBand, TopMarginBand and BottomMarginBand. These bands cannot be deleted.

To create a band of a specific type in code, call the XtraReportBase.CreateBand method with the specified BandKind value.

See Introduction to Banded Reports to learn about the available report bands.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Band 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.

See Also