A newer version of this page is available. Switch to the current version.

GridControl.Bands Property

Provides access to the grid’s band collection.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public ObservableCollectionCore<GridControlBand> Bands { get; }

Property Value

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

An observable collection of bands within the grid.

Remarks

The grid stores its bands within the Bands collection. This collection provides methods that allow you to add new and remove existing bands. Individual bands are represented by GridControlBand objects, and can be accessed using indexed notation.

NOTE

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

See Also