Band Class

The base for classes that provide functionality to report bands.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[BandKind(BandKind.None)]
public abstract class Band :
    XRControl,
    IXRSerializable,
    IEnumerable,
    IBrickOwner,
    IScriptable,
    IXtraSupportDeserializeCollectionItem,
    IXtraSerializable
<BandKind(BandKind.None)>
Public MustInherit Class Band
    Inherits XRControl
    Implements IXRSerializable,
               IEnumerable,
               IBrickOwner,
               IScriptable,
               IXtraSupportDeserializeCollectionItem,
               IXtraSerializable

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.

Implements

DevExpress.Utils.Serializing.Helpers.IXtraSupportDeserializeCollectionItem
DevExpress.Utils.Serializing.IXtraSerializable

See Also