Back to Devexpress

BandCollection.Item[BandKind] Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-bandcollection-dot-item-x28-devexpress-dot-xtrareports-dot-ui-dot-bandkind-x29.md

latest2.0 KB
Original Source

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

NuGet Package : DevExpress.Reporting.Core

Declaration

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

Parameters

NameTypeDescription
kindBandKind

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

|

Property Value

TypeDescription
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

BandCollection Class

BandCollection Members

DevExpress.XtraReports.UI Namespace