Back to Devexpress

GanttView.QueryAllowScheduleTask Event

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

latest1.3 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public event EventHandler<QueryAllowScheduleTaskEventArgs> QueryAllowScheduleTask
vb
Public Event QueryAllowScheduleTask As EventHandler(Of QueryAllowScheduleTaskEventArgs)

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

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace