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

XRTableRowCollection.IndexOf(XRTableRow) Method

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.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