Skip to main content
A newer version of this page is available. .

GanttView.AllowSchedulingOnEditing Property

Gets or sets whether the GanttControl should recalculate 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.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Gantt, DevExpress.Wpf.Gantt

Declaration

public bool AllowSchedulingOnEditing { get; set; }

Property Value

Type Description
Boolean

true, to recalculate task properties; otherwise, false.

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.

Gantt automatic

This functionality is available via the following API:

Member Description
AllowSchedulingOnEditing If enabled, the control re-schedules tasks after each change.
GanttView.ScheduleMode A schedule mode (Forward or Backward) that specifies how the GanttControl recalculates task properties.
ScheduleTask / ScheduleDependentTasks Call these methods to re-schedule tasks on demand if the previous option is disabled.
ScheduleAll() Call this method to re-schedule all the Gantt tasks.
TasksScheduled This event allows you to rollback changes if they create invalid links.
DeleteTask(TreeListNode) Use this method to delete a task and re-schedule the affected tasks.
See Also