Back to Devexpress

GridBand.Collection Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-bandedgrid-dot-gridband-583049a6.md

latest2.1 KB
Original Source

GridBand.Collection Property

Gets the band collection that owns the current band.

Namespace : DevExpress.XtraGrid.Views.BandedGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public virtual GridBandCollection Collection { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property Collection As GridBandCollection

Property Value

TypeDescription
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

BandLevel

Banded Grid Views

GridBand Class

GridBand Members

DevExpress.XtraGrid.Views.BandedGrid Namespace