Skip to main content

TreeListBandCollection.Item[String] Property

Returns a band with the specified name within the collection.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

public TreeListBand this[string name] { get; }

Parameters

Name Type Description
name String

The band with the specified name; null (Nothing in visual basic) if no band is found.

Property Value

Type Description
TreeListBand

The band’s name to be found.

Remarks

This method traverses the band collection and searches for the band whose TreeListBand.Name property’s value equals the Name parameter. If no band is found, null (Nothing in visual basic) is returned.

See Also