Back to Devexpress

GanttView.ScheduleTask(TreeListNode) Method

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview-dot-scheduletask-x28-devexpress-dot-xpf-dot-grid-dot-treelistnode-x29.md

latest2.4 KB
Original Source

GanttView.ScheduleTask(TreeListNode) Method

Re-schedules a specified task on demand.

Namespace : DevExpress.Xpf.Gantt

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public void ScheduleTask(
    TreeListNode node
)
vb
Public Sub ScheduleTask(
    node As TreeListNode
)

Parameters

NameTypeDescription
nodeTreeListNode

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.

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.

See Also

ScheduleDependentTasks(TreeListNode)

ScheduleAll()

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace