TreeListBandCollection Class
A band collection within a TreeList.
Namespace: DevExpress.XtraTreeList.Columns
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
[ListBindable(false)]
public class TreeListBandCollection :
CollectionBase,
IHeaderObjectCollection,
IEnumerable<TreeListBand>,
IEnumerable,
IHeaderObjectSynchronization<TreeListBand>
Related API Members
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.