Back to Devexpress

GanttView.AllowSchedulingOnEditing Property

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview-d17b626f.md

latest2.7 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public bool AllowSchedulingOnEditing { get; set; }
vb
Public Property AllowSchedulingOnEditing As Boolean

Property Value

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

MemberDescription
AllowSchedulingOnEditingIf enabled, the control re-schedules tasks after each change.
GanttView.ScheduleModeA schedule mode ( Forward or Backward ) that specifies how the GanttControl recalculates task properties.
ScheduleTask / ScheduleDependentTasksCall 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.
TasksScheduledThis 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

Data Editing and Validation

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace