Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: 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.

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