wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview-34e975d8.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Gantt
public ScheduleMode ScheduleMode { get; set; }
Public Property ScheduleMode As ScheduleMode
| 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.
|
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.
| 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.
See Also