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

GridBandCollection Class

Represents a band collection.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

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

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