Skip to main content

SubBandCollection.Contains(SubBand) Method

Determines whether or not the specified sub-band is a member of the collection.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public bool Contains(
    SubBand item
)

Parameters

Name Type Description
item SubBand

The SubBand object to locate in the collection.

Returns

Type Description
Boolean

true if the sub-band is a member of the collection; otherwise, false.

Remarks

This method enables you to determine whether or not the specified sub-band is a member of the collection before attempting to perform operations on the sub-band. This method can be used to confirm that the sub-band has been added to or is still a member of the collection.

See Also