Skip to main content

ReportPrintOptions.DetailCountAtDesignTime Property

Specifies how many times the Detail band is printed in the Report Designer Preview.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(0)]
public int DetailCountAtDesignTime { get; set; }

Property Value

Type Default Description
Int32 0

An integer value that specifies the number of detail records displayed in the report.

Property Paths

You can access this nested property as listed below:

Object Type Path to DetailCountAtDesignTime
XtraReportBase
.ReportPrintOptions .DetailCountAtDesignTime

Remarks

The DetailCountAtDesignTime property allows you to limit the number of data records displayed in the Report Designer Preview for a data-bound report. When the report is previewed in the Document Viewer, exported, or printed from code, the DetailCountAtDesignTime property has no effect on the number of records shown in the document.

The default DetailCountAtDesignTime property value is 0 (zero), which means that all detail records are displayed in the preview.

Use the DetailCount property to limit the number of Detail band entries for a data-bound report when the report is previewed in the Document Viewer, exported, or printed from code.

To limit the number of Detail band entries for an unbound report when the report is previewed in the Document Viewer, exported, or printed from code, use the DetailCountOnEmptyDataSource property.

You can apply a filter to report data to limit the number of records displayed in a report. For more information, review the following help topic: Data Filter Overview.

See Also