Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraReportBase.RowCount Property

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

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

See Also