Back to Devexpress

GanttView.ScheduleMode Property

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview-34e975d8.md

latest3.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Gantt

Declaration

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

Property Value

TypeDescription
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:

NameDescription
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

APIDescription
GanttView.AllowSchedulingOnEditingIf enabled, the GanttControl re-schedules tasks after each change.
ScheduleModeA schedule mode ( Forward or Backward ) that specifies how the GanttControl recalculates task properties.
GanttView.ScheduleTask / GanttView.ScheduleDependentTasksCall these methods to re-schedule tasks on demand if the previous option is disabled.
GanttView.ScheduleAllCall this method to re-schedule all the Gantt tasks.
GanttView.TasksScheduledThis event allows you to rollback changes if they create invalid links.
GanttView.DeleteTaskUse 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

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace