Occurs on scheduling for each affected node and allows you to control the scheduling mechanism for each particular task. This is a routed event.
public event EventHandler<QueryAllowScheduleTaskEventArgs> QueryAllowScheduleTask
Public Event QueryAllowScheduleTask As EventHandler(Of QueryAllowScheduleTaskEventArgs)
The QueryAllowScheduleTask event's data class is DevExpress.Xpf.Gantt.QueryAllowScheduleTaskEventArgs.
Set the event arguments' AllowSchedule property to
false to prevent a task from being scheduled. Note, that a child task may still be scheduled together with its summary task.