Skip to main content

TdxGanttControlTaskPredecessorLagFormat Enum

Enumerates lag time measurement units.

Declaration

TdxGanttControlTaskPredecessorLagFormat = (
    Minutes = 3,
    ElapsedMinutes,
    Hours,
    ElapsedHours,
    Days,
    ElapsedDays,
    Weeks,
    ElapsedWeeks,
    Months,
    ElapsedMonths,
    Percent = 19,
    ElapsedPercent
);

Members

Name Description
Minutes
ElapsedMinutes
Hours
ElapsedHours
Days

The control excludes weekends and holidays from a delay calculation.

Example: A predecessor task continues from Monday to Wednesday and you want to delay its successor for five days. The control shifts the successor task to the next Wednesday because three of the five working days are in the current week and the remaining two in the succeeding week.

ElapsedDays

The control includes weekends and holidays to a delay calculation.

Example: A predecessor task continues from Monday to Wednesday and you want to delay its successor for five days. The control shifts the successor task to the next Monday because the five days include three working days and a weekend.

Weeks
ElapsedWeeks
Months
ElapsedMonths
Percent

The control calculates a successor task’s delay based on its predecessor’s duration.

Example: Predecessor task takes four days. The control postpones a successor task for two days if you specify fifty percent as lag time.

ElapsedPercent

Remarks

A dependency’s LagFormat property references the TdxGanttControlTaskPredecessorLagFormat type.

See Also