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

TreeListBand Class

A band that combines Tree List columns.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

public class TreeListBand :
    Component,
    IHeaderObject,
    IAppearanceOwner,
    IXtraSerializableLayoutEx,
    ISupportDXSkinColorsEx,
    ISupportDXSkinColors,
    IAccessiblePropertiesProvider,
    ISupportAppearanceObjectPropertiesFilter

#Remarks

A TreeList allows you to arrange columns into bands (logical and visual groups). You can hide, display and reorder bands along with their child columns. Specific bands can own one or more columns, or one or more other bands (thus making it possible to build a hierarchy of bands). Visually, bands are represented by band headers placed within the band panel.

The following image demonstrates a Tree List that contains three top-level bands (Main, Details and Picture) and two nested bands (Absolute Values and Related To Earth Values).

TreeListBandsExampleDeatails

TreeListBand objects implement bands in the TreeList. Each object provides the band size (TreeListBand.Width, etc.), a child column collection (TreeListBand.Columns), a child band collection (TreeListBand.Bands), the band header appearance settings (TreeListBand.AppearanceHeader) and so on.

To add bands to the Tree List, see the TreeList.Bands property.

For more information, see Bands.

#Inheritance

See Also