Task Link in the Gantt View
A Gantt Diagram can display dependency relationships between activities (i.e., task relations). These relations are implemented as instances of the TaskLink class.
A task link is a relation between a parent point and child points. The dependency type is defined by the TaskLinkType enumeration member and can be specified by the TaskLink.LinkType property. These types are: Finish to Start (the most common), Finish to Finish, Start to Finish and Start to Start. Their appearance in a chart specifies the order in which tasks should begin and end.
The task link is displayed as a line that connects the terminal points of task bars, with an arrowhead pointed at a bar (the “parent bar”).
The TaskLinkOptions object specifies drawing parameters (Color, Thickness, ArrowHeight and ArrowWidth), the minimum distance between the line and bars it connects (MinIndent), and line visibility (Visible).
The table below lists the main properties that affect the element’s appearance and functionality:
Link Type | |
Color | |
Line Thickness | |
Arrowhead Length | |
Arrowhead Width | |
Line Indentation | |
Visibility |