GanttPredecessorLinkMappings.Lag Property

Specifies the data field from which the GanttControl should obtain the time lag (a TimeSpan object). This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v20.1.dll


public Mapping Lag { get; set; }
Public Property Lag As Mapping

Property Value

Type Description

A mapping to the data field that identifies a time lag.


Refer to the Task Dependencies topic for more information.


The time lag between two tasks means the working time lag.


You have the following working time rules:

  • working time per day is 8 hours,
  • time lag is set to 1 day (that is 24 hours).

In this case, the time lag between two tasks is 24 working time hours, that is 3 working days.

See Also