Back to Devexpress

GanttTaskDependencyMappingInfo.DependencyType Property

aspnet-devexpress-dot-web-dot-aspxgantt-dot-gantttaskdependencymappinginfo-34ee6065.md

latest3.0 KB
Original Source

GanttTaskDependencyMappingInfo.DependencyType Property

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

Declaration

csharp
[DefaultValue("DependencyType")]
public string DependencyType { get; set; }
vb
<DefaultValue("DependencyType")>
Public Property DependencyType As String

Property Value

TypeDefaultDescription
String"DependencyType"

A data field name.

|

Remarks

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”

|

aspx
<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>

Concept

Bind To Data

Examples

Online Demos

See Also

ASPxGantt - 'How To' Examples

GanttTaskDependencyMappingInfo Class

GanttTaskDependencyMappingInfo Members

DevExpress.Web.ASPxGantt Namespace