GanttView.ScheduleMode Property
Gets or sets a schedule mode (Forward or Backward) that specifies how the GanttControl recalculates task properties once a related task’s start date, progress, or duration has been modified. This is a dependency property.
Namespace: DevExpress.Xpf.Gantt
Assembly: DevExpress.Xpf.Gantt.v24.2.dll
NuGet Package: DevExpress.Wpf.Gantt
Declaration
Property Value
Type | Description |
---|---|
ScheduleMode | A schedule mode that specifies how the GanttControl recalculates task properties once a related task’s start date, progress, or duration has been modified. |
Available values:
Name | Description |
---|---|
Forward | Forward scheduling. |
Backward | Backward scheduling. |
Remarks
The GanttControl recalculates related task positions and updates the summary task positions, durations, and progress when you change a task’s start date, progress, or duration.
Forward Scheduling
Backward Scheduling
API
API | Description |
---|---|
GanttView.AllowSchedulingOnEditing | If enabled, the GanttControl re-schedules tasks after each change. |
ScheduleMode | A schedule mode (Forward or Backward) that specifies how the GanttControl recalculates task properties. |
GanttView.ScheduleTask / GanttView.ScheduleDependentTasks | Call these methods to re-schedule tasks on demand if the previous option is disabled. |
GanttView.ScheduleAll | Call this method to re-schedule all the Gantt tasks. |
GanttView.TasksScheduled | This event allows you to rollback changes if they create invalid links. |
GanttView.DeleteTask | Use this method to delete a task and re-schedule the affected tasks. |
If a user changes a task so that it conflicts with defined dependencies, the GanttControl displays these dependencies as invalid.