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

GridBand.Collection Property

Gets the band collection that owns the current band.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[Browsable(false)]
public virtual GridBandCollection Collection { get; }

#Property Value

Type Description
GridBandCollection

A GridBandCollection object representing the band collection that owns the current band.

#Remarks

If the band resides at the root nesting level, the Collection property returns the View’s BandedGridView.Bands property value. Otherwise, the Collection property returns the parent band’s GridBand.Children property value.

Use the GridBand.ParentBand property to access a band’s parent band.

See Also