Back to Devexpress

XtraReportBase.RowCount Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xtrareportbase-51d207d3.md

latest1.7 KB
Original Source

XtraReportBase.RowCount Property

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

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[Browsable(false)]
public int RowCount { get; }
vb
<Browsable(False)>
Public ReadOnly Property RowCount As Integer

Property Value

TypeDescription
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

CurrentRowIndex

XtraReportBase Class

XtraReportBase Members

DevExpress.XtraReports.UI Namespace