New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents a serializable data transfer object for Gantt dependencies. Implements IDependencyData and provides copy helpers for mapping to and from live IDependency instances.

Definition

Namespace:Telerik.Web.UI.Gantt

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[DataContract]
public class DependencyData : IDependencyData, IDependencyBase

Inheritance: objectDependencyData

Implements: IDependencyBaseIDependencyData

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public DependencyData()

Properties

Gets or sets the unique dependency identifier.

C#
[DataMember]
public object ID { get; set; }

Implements: IDependencyBase.ID

Gets or sets the predecessor task identifier.

C#
[DataMember]
public object PredecessorID { get; set; }

Implements: IDependencyBase.PredecessorID

Gets or sets the successor task identifier.

C#
[DataMember]
public object SuccessorID { get; set; }

Implements: IDependencyBase.SuccessorID

Gets or sets the type of the dependency relationship.

C#
[DataMember]
public DependencyType Type { get; set; }

Implements: IDependencyBase.Type

Methods

Copies scalar dependency properties from the specified source dependency into this data object.

C#
public virtual void CopyFrom(IDependency srcDependency)
Parameters:srcDependencyIDependency

The source dependency.

Implements: IDependencyData.CopyFrom(IDependency)

Applies this data object's scalar properties to the specified destination dependency.

C#
public virtual void CopyTo(IDependency destDependency)
Parameters:destDependencyIDependency

The destination dependency to update.

Implements: IDependencyData.CopyTo(IDependency)