windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-cceb9e39.md
Represents a band collection.
Namespace : DevExpress.XtraGrid.Views.BandedGrid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[ListBindable(false)]
public class GridBandCollection :
CollectionBase,
IEnumerable<GridBand>,
IEnumerable,
IList<GridBand>,
ICollection<GridBand>
<ListBindable(False)>
Public Class GridBandCollection
Inherits CollectionBase
Implements IEnumerable(Of GridBand),
IEnumerable,
IList(Of GridBand),
ICollection(Of GridBand)
The following members return GridBandCollection objects:
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.
Object CollectionBase GridBandCollection
See Also