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.v18.1.dll

Syntax

public Band this[BandKind kind] { get; }

Parameters

Type Name Description
BandKind kind

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

Returns

Type Description
Band

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.