Skip to main content

SubBandCollection.IndexOf(SubBand) Method

Returns the index of the specified object in the SubBandCollection.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public int IndexOf(
    SubBand item
)

Parameters

Name Type Description
item SubBand

The SubBand object to locate in the collection.

Returns

Type Description
Int32

An integer value specifying the object’s position in the collection, if found; otherwise, -1.

Remarks

If the specified sub-band has not been found in the collection, this method returns -1.

See Also