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.ControlsAssembly: DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)
Syntax
C# |
---|
void LevelResources( bool includeStartedTasks, DateTime start ) |
Visual Basic (Declaration) |
---|
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.