Skip to main content
A newer version of this page is available. .
All docs
V21.2

GanttControl.SetTaskSplits(Int32, List<TimeSpan>) Method

Sets the collection of time spans that specify the task’s body and splits one after another.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Gantt

Declaration

public void SetTaskSplits(
    int nodeId,
    List<TimeSpan> splits
)

Parameters

Name Type Description
nodeId Int32

A task’s Id property value.

splits List<TimeSpan>

The collection of time spans that specify a task’s body and splits one after another.

See Also