Levels the assigned resources from all standard tasks within the control in order to avoid over allocation, by updating task timing values accordingly. Requires that AssignmentsContent property of the task items 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%]"). Not supported in case of a Schedule Chart.

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

Syntax

C#
public void LevelResources(
	bool includeStartedTasks,
	DateTime start
)
Visual Basic (Declaration)
Public Sub LevelResources ( _
	includeStartedTasks As Boolean, _
	start As DateTime _
)

Parameters

includeStartedTasks
Type: System..::.Boolean
A value indicating whether or not to consider already started tasks (i.e. having completion > 0) for resource leveling.
start
Type: System..::.DateTime
The start date and time to consider for resource leveling algorithm.

Implements

IGanttChartView..::.LevelResources(Boolean, DateTime)

See Also