Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

[DefaultValue("PredecessorID")]
public string PredecessorKey { get; set; }

#Property Value

Type Default Description
String "PredecessorID"

A data field name.

#Remarks

<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