Skip to main content

BandCollection.Item[BandKind] Property

An indexer that returns the Band object that is of the specified band kind.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core


public Band this[BandKind kind] { get; }


Name Type Description
kind BandKind

A BandKind enumeration value that identifies a Band object by its band kind in the collection.

Property Value

Type Description

The Band object that has the specified band kind in the collection. If no band with the specified band kind was found in the collection the indexer returns null (Nothing in Visual Basic).


If the parameter is equal to BandKind.GroupHeader or BandKind.GroupFooter then this indexer will return the first band found which is of the specified type.

See Also