GanttControl.Bands Property

Provides access to the GanttControl's band collection.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v20.1.dll

Declaration

public ObservableCollectionCore<GanttControlBand> Bands { get; }
Public ReadOnly Property Bands As ObservableCollectionCore(Of GanttControlBand)

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