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.2.dll

Declaration

public Band this[BandKind kind] { get; }
Public ReadOnly Property Item(kind As BandKind) As Band

Parameters

Type Name Description
BandKind kind

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

Property Value

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.

See Also