Skip to main content

GridBandCollection Class

Represents a band collection.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

[ListBindable(false)]
public class GridBandCollection :
    CollectionBase,
    IEnumerable<GridBand>,
    IEnumerable,
    IList<GridBand>,
    ICollection<GridBand>

The following members return GridBandCollection objects:

Remarks

Banded Grid Views allow you to arrange bands into a tree. The collection of root bands is available via the View’s BandedGridView.Bands property. Each band can hold its child band collection in its GridBand.Children property. Band objects also provide the GridBand.Collection property which allows you to access the collection of bands located one level higher in the hierarchy. All the properties mentioned (band collections) are represented by GridBandCollection objects.

GridBandCollection members allow you to add, remove, access individual bands and perform other common collection management tasks. It also provides properties that allow you to access the band that owns this collection and the View to which the collection belongs.

Inheritance

Object
CollectionBase
GridBandCollection
See Also