Iterates the list of assignments (defined as resource names and associated allocation units) from a specific task within the control. Requires that AssignmentsContent property of the task item is of type string, formatted as a list of resource names separated by commas, optionally having associated allocation percents declared between square brackets (e.g.: "John, Mary [50%], Diane [12.5%]"), or, in case of a Schedule Chart, formatted as an optional allocation percent (e.g.: "12.5%").

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
IEnumerable<KeyValuePair<string, double>> GetAssignments(
	GanttChartItem item
)
Visual Basic (Declaration)
Function GetAssignments ( _
	item As GanttChartItem _
) As IEnumerable(Of KeyValuePair(Of String, Double))

Parameters

item
Type: DlhSoft.Windows.Controls..::.GanttChartItem
The task item to get the assignments of.

See Also