ReportPrintOptions.DetailCountOnEmptyDataSource Property

Specifies how many times the Detail band should be printed when no data source is defined for the report.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll

Declaration

[DefaultValue(1)]
public int DetailCountOnEmptyDataSource { get; set; }
<DefaultValue(1)>
Public Property DetailCountOnEmptyDataSource As Integer

Property Value

Type Default Description
Int32

1

An integer value.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to DetailCountOnEmptyDataSource
WinForms Controls XtraSchedulerReport
.ReportPrintOptions.DetailCountOnEmptyDataSource
Reporting DetailReportBand
.ReportPrintOptions.DetailCountOnEmptyDataSource
XtraReport
.ReportPrintOptions.DetailCountOnEmptyDataSource
XtraReportBase
.ReportPrintOptions.DetailCountOnEmptyDataSource

Remarks

Use the DetailCountOnEmptyDataSource property, to specify how many times the Detail band is printed, when no data source is defined for the report.

detail-count-on-empty-data-source

To specify the number of times the Detail band is printed when a data source is defined for the report (and it is not empty), use the ReportPrintOptions.DetailCount property.

To limit the number of records shown when a report is previewed at design time, use the ReportPrintOptions.DetailCountAtDesignTime property.

To choose whether or not a report should be printed when its data source has no data, use the ReportPrintOptions.PrintOnEmptyDataSource property.

To learn more, see Data Filtering Overview.

See Also