Back to Devexpress

BandCollection.Item[String] Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-bandcollection-dot-item-x28-system-dot-string-x29.md

latest1.6 KB
Original Source

BandCollection.Item[String] Property

Provides access to individual items in the collection by their names.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public Band this[string name] { get; }
vb
Public ReadOnly Property Item(name As String) As Band

Parameters

NameTypeDescription
nameString

A String value specifying the name of the band to get.

|

Property Value

TypeDescription
Band

A Band class descendant which represents the band with the specified name.

|

Remarks

This property searches the collection for the band whose name matches the parameter’s value, and returns this band. If no such object is found, the indexer returns null ( Nothing in Visual Basic).

See Also

BandCollection Class

BandCollection Members

DevExpress.XtraReports.UI Namespace