Back to Devexpress

BandCollection.Contains(Band) Method

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-bandcollection-dot-contains-x28-devexpress-dot-xtrareports-dot-ui-dot-band-x29.md

latest1.6 KB
Original Source

BandCollection.Contains(Band) Method

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

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public bool Contains(
    Band band
)
vb
Public Function Contains(
    band As Band
) As Boolean

Parameters

NameTypeDescription
bandBand

The Band object to locate in the collection.

|

Returns

TypeDescription
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

BandCollection Class

BandCollection Members

DevExpress.XtraReports.UI Namespace