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

TreeListBandCollection Class

A band collection within a TreeList.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#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