Skip to main content
A newer version of this page is available. .

DataControlBase.BandsSource Property

Gets or sets the source from which the grid generates bands. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public IEnumerable BandsSource { get; set; }

Property Value

Type Description
IEnumerable

The source from which the grid generates bands.

Remarks

To learn more, refer to the Binding to a Collection of Bands topic.

Note

The BandsSource and the DataControlBase.ColumnsSource cannot be set simultaneously.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BandsSource 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.

See Also