Skip to main content

GanttControl.Bands Property

Provides access to the GanttControl‘s band collection.

Namespace: DevExpress.Xpf.Gantt

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

NuGet Package: DevExpress.Wpf.Gantt

Declaration

public ObservableCollectionCore<GanttControlBand> Bands { get; }

Property Value

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

An observable collection of bands within the GanttControl.

Remarks

The GanttControl 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 GanttControlBand objects, and can be accessed using indexed notation.

Note

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

See Also