All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.v20.1.dll

Declaration

public event EventHandler<QueryAllowScheduleTaskEventArgs> QueryAllowScheduleTask
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