Dependency
Dependencies specify relationships between tasks.
The Gantt supports the following dependency types:
Dependency type | Description |
---|---|
Finish to Start (FS) | The predecessor task’s endpoint specifies the successor task’s start point. |
Start to Start (SS) | The predecessor task’s start point specifies the successor task’s start point. |
Finish to Finish (FF) | The predecessor task’s end point specifies the successor task’s end point. |
Start to Finish (SF) | The predecessor task’s start point specifies the successor task’s end point. |
The Gantt gets data for dependencies from a data table (Bind(Object, Object, Object, Object)). Use the GanttMappings.Dependency object to specify which fields in the data table correspond to dependency properties.
settings.Mappings.Dependency.Key = "ID";
settings.Mappings.Dependency.PredecessorKey = "ParentID";
settings.Mappings.Dependency.SuccessorKey = "DependentID";
settings.Mappings.Dependency.DependencyType = "Type";