Skip to main content

GridControlBand.Bands Property

Provides access to the band’s child band collection.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public ObservableCollectionCore<GridControlBand> Bands { get; }

Property Value

Type Description
DevExpress.Xpf.Core.ObservableCollectionCore<GridControlBand>

A collection of bands.

Remarks

The band stores its child bands within the Bands collection. This collection provides methods that allow you to add new and remove existing bands. Individual bands are represented by the GridControlBand objects.

View Example: Create a Banded View

Note

The Bands and the GridControlBand.Columns properties cannot be set simultaneously.

See Also