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

GridBandColumnCollection Class

Represents a column collection owned by a band.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[ListBindable(false)]
public class GridBandColumnCollection :
    CollectionBase,
    IEnumerable<BandedGridColumn>,
    IEnumerable

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