Back to Devexpress

GanttControl.Bands Property

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttcontrol-b9395e82.md

latest1.6 KB
Original Source

GanttControl.Bands Property

Provides access to the GanttControl‘s band collection.

Namespace : DevExpress.Xpf.Gantt

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

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

Property Value

TypeDescription
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

GanttControl Class

GanttControl Members

DevExpress.Xpf.Gantt Namespace