Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Reporting.Core

#Declaration

public Band this[BandKind kind] { get; }

#Parameters

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
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).

#Remarks

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