Back to Devexpress

GanttTaskDependencyMappingInfo.PredecessorKey Property

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

latest2.0 KB
Original Source

GanttTaskDependencyMappingInfo.PredecessorKey Property

Specifies the name of the data field that contains information on the dependency’s predecessor ID.

Namespace : DevExpress.Web.ASPxGantt

Assembly : DevExpress.Web.ASPxGantt.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
String"PredecessorID"

A data field name.

|

Remarks

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