Skip to main content

XRTableRowCollection.IndexOf(XRTableRow) Method

Returns the zero-based index of the specified row in the collection.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v23.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public int IndexOf(
    XRTableRow row
)

Parameters

Name Type Description
row XRTableRow

The XRTableRow object to locate in the collection.

Returns

Type Description
Int32

An integer value representing the position of the specified row in the collection.

Remarks

If the specified table row is not found in the collection the IndexOf method returns -1.

See Also