Skip to main content

GanttControl.GetDuration(GanttControlNode) Method

Returns the specified task’s duration.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.2.dll

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