Occurs each time the task hierarchy and order is changed and allows you to keep two tasks linked even if they organize a cyclic task connection or a child task links to its summary task. This is a routed event.
public event EventHandler<QueryKeepTasksLinkedEventArgs> QueryKeepTasksLinked
Public Event QueryKeepTasksLinked As EventHandler(Of QueryKeepTasksLinkedEventArgs)
The QueryKeepTasksLinked event's data class is DevExpress.Xpf.Gantt.QueryKeepTasksLinkedEventArgs.
In versions prior to v19.2, changing Gantt tasks' order or hierarchy might lead to the following:
- an existing link between tasks connects a summary task and one of its child tasks
- an existing link causes a cyclic connection between the tasks
If these links were not deleted, the scheduling and critical path calculation features did not work.
Starting with v19.2, these links are deleted automatically. You can keep them by handling the
Use the QueryAllowPredecessorLinkEdit event to create custom rules and limitations for task connectors.