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

BandCollection.Contains(Band) Method

Determines whether the specified band is a member of the collection.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

public bool Contains(
    Band band
)

Parameters

Name Type Description
band Band

The Band object to locate in the collection.

Returns

Type Description
Boolean

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

Remarks

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

See Also