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

Represents a task-resource assignment in the Gantt component, supporting serialization and mapping.

Definition

Constructors

C#
public Assignment()

Properties

Gets or sets the unique assignment identifier.

C#
public object ID { get; set; }

Implements: IAssignmentBase.ID

Gets or sets the associated resource identifier.

C#
public object ResourceID { get; set; }

Implements: IAssignmentBase.ResourceID

Gets or sets the associated task identifier.

C#
public object TaskID { get; set; }

Implements: IAssignmentBase.TaskID

Gets or sets the assignment units value.

C#
public object Units { get; set; }

Implements: IAssignmentBase.Units

Methods

Returns the assignment data as an OrderedDictionary.

C#
public IOrderedDictionary GetData()
Returns:

IOrderedDictionary

OrderedDictionary representing the assignment data item.

Implements: IAssignment.GetData()

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

IDictionary<string, object>

Loads the assignment values from an OrderedDictionary.

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

Dictionary representing assignment data item.

Implements: IAssignment.LoadFromDictionary(IDictionary)