All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.v20.1.dll

Declaration

public ScheduleMode ScheduleMode { get; set; }
Public Property ScheduleMode As ScheduleMode

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.

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.

See Also