ReportPrintOptions.DetailCount Property
Specifies the maximum number of times the Detail band will be printed when a data source is defined for the report, and it is not empty.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 0 | An integer value. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to DetailCount |
---|---|
XtraReportBase |
|
Remarks
The DetailCount
setting limits the number of records displayed in a data-bound report. With the default zero value, all detail records are shown.
To define how many times the Detail band should be printed when the report’s data source is empty (or not defined), use the ReportPrintOptions.DetailCountOnEmptyDataSource 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 is empty (or not defined), use the ReportPrintOptions.PrintOnEmptyDataSource property.
For more information, review the following help topic: Data Filtering Overview.