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

Represents a dependency relationship between two Gantt tasks, supporting serialization and mapping.

Definition

Constructors

C#
public Dependency()

Properties

Gets or sets the Dependency ID as it came from the DataSource

C#
public object ID { get; set; }

Implements: IDependencyBase.ID

Gets or sets the ID of the task that is a predecessor to the current.

C#
public object PredecessorID { get; set; }

Implements: IDependencyBase.PredecessorID

Gets or sets the ID of the task that is a successor to the current.

C#
public object SuccessorID { get; set; }

Implements: IDependencyBase.SuccessorID

Gets or sets the type DependencyType of the Dependency.

C#
public DependencyType Type { get; set; }

Implements: IDependencyBase.Type

Methods

Returns the Dependency data as an OrdrederDictionary.

C#
public IOrderedDictionary GetData()
Returns:

IOrderedDictionary

OrderedDictionary representing the Dependency data item.

Implements: IDependency.GetData()

C#
protected virtual IDictionary<string, object> GetSerializationData()
Returns:

IDictionary<string, object>

Loads the Dependency values from an OrderedDictionary

C#
public void LoadFromDictionary(IDictionary values)
Parameters:valuesIDictionary

Dictionary representing Dependency data item

Implements: IDependency.LoadFromDictionary(IDictionary)