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

GridBandColumnCollection Class

Represents a column collection owned by a band.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[ListBindable(false)]
public class GridBandColumnCollection :
    CollectionBase

The following members return GridBandColumnCollection objects:

Remarks

Banded Grid Views allow you to arrange columns into bands. Each band holds its child column collection in the GridBand.Columns property. Such collections are represented by GridBandColumnCollection objects.

GridBandColumnCollection objects allow you to add, remove, access individual bands and perform other common collection management tasks. Note that the GridBandColumnCollection.Add method can be used to move columns from band to band. If using a BandedGridView, the GridBandColumnCollection.MoveTo method can be used to change the visual columns order within a band (the visual columns order matches the order of columns within the collection in such Views).

The GridBandColumnCollection class also allows you to access the band and View that own the collection. Use the GridBandColumnCollection.Band and GridBandColumnCollection.View properties for this purpose.

Inheritance

Object
CollectionBase
GridBandColumnCollection
See Also