GridControl.Bands Property
Provides access to the grid’s band collection.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v19.1.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Bands property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.