Skip to main content

GanttControl.GetDuration(GanttControlNode) Method

Returns the specified task’s duration.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v23.2.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

public TimeSpan? GetDuration(
    GanttControlNode node
)

Parameters

Name Type Description
node GanttControlNode

An object that specifies the task for which to return the start baseline start date.

Returns

Type Description
Nullable<TimeSpan>

A TimeSpan structure that specifies the task’s duration.

See Also