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.ScheduleTask(TreeListNode) Method

Re-schedules a specified task on demand.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v24.2.dll

NuGet Package: DevExpress.Wpf.Gantt

#Declaration

public void ScheduleTask(
    TreeListNode node
)

#Parameters

Name Type Description
node TreeListNode

Gantt task that should be re-scheduled.

#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.
See Also