Skip to main content
A newer version of this page is available. .

XtraReportBase.RowCount Property

Gets the total amount of data rows in a report’s XtraReportBase.DataSource.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll

Declaration

[Browsable(false)]
public int RowCount { get; }

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).

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.

See Also