VerticalDetailBand Class
A vertical band that displays recurring content from the report’s data source.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Remarks
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.
The Create a Vertical Report in the Visual Studio Report Designer 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.
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.