XtraReportBase.RowCount Property
Gets the total amount of data rows in a report’s XtraReportBase.DataSource.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v19.1.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer value representing the total amount of data rows in a data source. |
Remarks
When a report document is being created, XtraReports iterates through a report’s data source (accessed via its XtraReportBase.DataSource property). Use the RowCount property to obtain the total amount of data rows in the report’s data source when handling different events (e.g. XRControl.BeforePrint).
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RowCount property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.