Skip to main content
All docs
V25.1
  • 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.1.dll

    NuGet Package: DevExpress.Wpf.Gantt

    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