Back to Devexpress

XtraReportBase.CurrentRowIndex Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xtrareportbase-d9ac6fe8.md

latest1.8 KB
Original Source

XtraReportBase.CurrentRowIndex Property

Gets the index of the current data row 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 CurrentRowIndex { get; }
vb
<Browsable(False)>
Public ReadOnly Property CurrentRowIndex As Integer

Property Value

TypeDescription
Int32

An integer value which represents the index of the current data row.

|

Remarks

When a report document is being created, XtraReports iterates through a report’s data source (accessed via its XtraReportBase.DataSource property). Use the CurrentRowIndex property to obtain the index of the data row which is currently being accessed in the report’s data source when handling different events (e.g. XRControl.BeforePrint).

See Also

RowCount

XtraReportBase Class

XtraReportBase Members

DevExpress.XtraReports.UI Namespace