Skip to main content
A newer version of this page is available. .

GanttView.QueryAllowScheduleTask Event

Occurs on scheduling for each affected node and allows you to control the scheduling mechanism for each particular task. This is a routed event.

Namespace: DevExpress.Xpf.Gantt

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

Declaration

public event EventHandler<QueryAllowScheduleTaskEventArgs> QueryAllowScheduleTask

Event Data

The QueryAllowScheduleTask event's data class is DevExpress.Xpf.Gantt.QueryAllowScheduleTaskEventArgs.

Remarks

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.

See Also