VerticalDetailBand Class

A vertical band that displays recurring content from the report's data source.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[BandKind(BandKind.VerticalDetail)]
public class VerticalDetailBand :
    VerticalBand,
    IXRSerializable,
    IEnumerable,
    IBrickOwner,
    IScriptable,
    IXtraSupportDeserializeCollectionItem,
    IXtraSerializable,
    IDetailBand
<BandKind(BandKind.VerticalDetail)>
Public Class VerticalDetailBand
    Inherits VerticalBand
    Implements IXRSerializable,
               IEnumerable,
               IBrickOwner,
               IScriptable,
               IXtraSupportDeserializeCollectionItem,
               IXtraSerializable,
               IDetailBand

If you use vertical bands to display data, the Vertical Detail band replaces the standard Detail band functionally. It becomes the main band and cannot be deleted. You can supplement it with the Vertical Header and Vertical Total bands.

VerticalBandDemoReport_WizardResult

The Create a Vertical Report tutorial details how to use the Report Wizard to add the Vertical Detail band at design time. You can also use the report's context menu to replace the standard Detail band with the Vertical Detail band in the Report Designer. Note that all the controls the standard Detail band contains are not added to the Vertical Detail band, they are removed.

VerticalBands_UseContextMenu

If the Vertical Detail band contains data-bound controls, this band is printed as many times as there are records in the data source. When the report's DataMember property is not specified or is specified incorrectly, the Vertical Detail band displays the first data source record as many times as there are records in total. To specify how many times to print the Vertical Detail band with or without a data source assigned to the report, use the ReportPrintOptions class' properties. You can also specify how to sort data displayed by the Vertical Detail band. For this, use the band's SortFields property.

To specify how to arrange the Vertical Detail band's content across several pages, use its BandLayout property.

Inheritance

Object
XRControl
Band
VerticalBand
VerticalDetailBand

Implements

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

See Also