aspnet-devexpress-dot-web-dot-aspxgantt-dot-gantttaskdependencymappinginfo-34ee6065.md
Specifies the name of the data field that contains information on the dependency type.
Namespace : DevExpress.Web.ASPxGantt
Assembly : DevExpress.Web.ASPxGantt.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue("DependencyType")]
public string DependencyType { get; set; }
<DefaultValue("DependencyType")>
Public Property DependencyType As String
| Type | Default | Description |
|---|---|---|
| String | "DependencyType" |
A data field name.
|
The Gantt supports the following dependency types:
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.
In a database, you can use any of the following formats (digit or string) to store dependency types:
|
Dependency Type
|
Supported Values
| | --- | --- | |
Finish to Start (FS)
|
0, “0”, “FS”, “fs”
| |
Start to Start (SS)
|
1, “1”, “SS”, “ss”
| |
Finish to Finish (FF)
|
2, “2”, “FF”, “ff”
| |
Start to Finish (SF)
|
3, “3”, “SF”, “sf”
|
<dx:ASPxGantt ID="Gantt" runat="server" Width="100%" KeyFieldName="ID" ParentFieldName="ParentID" ...>
<Mappings>
<Dependency Key="ID" PredecessorKey="ParentID" SuccessorKey="DependentID" DependencyType="Type" />
//...
</Mappings>
...
</dx:ASPxGantt>
See Also
GanttTaskDependencyMappingInfo Class