Skip to main content
A newer version of this page is available. .

TreeListBandCollection Class

A band collection within a TreeList.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v18.2.dll

Declaration

[ListBindable(false)]
public class TreeListBandCollection :
    CollectionBase,
    IHeaderObjectCollection,
    IEnumerable<TreeListBand>,
    IEnumerable,
    IHeaderObjectSynchronization<TreeListBand>

The following members return TreeListBandCollection objects:

Remarks

The TreeList.Bands property of the TreeListBandCollection type provides access to bands residing at the root hierarchical level. Individual bands in the collection expose the TreeListBand.Bands property (of the TreeListBandCollection type, as well) that provides access to the band’s child bands. Each of these bands can contain its own children, and so on.

TreeListBandCollection members allow you to add (TreeListBandCollection.Add, TreeListBandCollection.AddRange, etc.), remove (TreeListBandCollection.Remove), access individual bands (TreeListBandCollection.Item), access the band that owns this collection (TreeListBandCollection.OwnerBand) and perform other common collection management tasks.

Inheritance

Object
CollectionBase
TreeListBandCollection
See Also