Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GanttControl.Bands Property

Provides access to the GanttControl‘s band collection.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v24.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