Back to Devexpress

GanttControl.TaskDependencyModified Event

windowsforms-devexpress-dot-xtragantt-dot-ganttcontrol-ff542390.md

latest4.5 KB
Original Source

GanttControl.TaskDependencyModified Event

Fires when a task’s dependency is successfully modified. This event only fires when a user modifies a task in the chart. When the user modifies a task in the task list, the event does not fire.

Namespace : DevExpress.XtraGantt

Assembly : DevExpress.XtraGantt.v25.2.dll

NuGet Package : DevExpress.Win.Gantt

Declaration

csharp
[DXCategory("Events")]
public event TaskDependencyModifiedEventHandler TaskDependencyModified
vb
<DXCategory("Events")>
Public Event TaskDependencyModified As TaskDependencyModifiedEventHandler

Event Data

The TaskDependencyModified event's data class is TaskDependencyModificationEventArgs. The following properties provide information specific to this event:

PropertyDescription
ChangeTypeGets the type of the operation.
OriginalSuccessorNodeGets the processed dependency’s original (before the operation) successor node.
OriginalSuccessorTaskGets the processed dependency’s original (before the operation) successor task.
PredecessorNodeGets the processed dependency’s current (during the operation) predecessor node.
PredecessorTaskGets the processed dependency’s current (during the operation) predecessor task.
SuccessorNodeGets the processed dependency’s current (during the operation) successor node.
SuccessorTaskGets the processed dependency’s current (during the operation) successor task.
TypeGets the type of the processed dependency.

Remarks

If the AllowModifyDependencies option is enabled, users can change a task’s predecessor or successor. Users can remove a dependency or attach it to another task if the mouse pointer hovers over the dependency arrow. To create a new dependency, use pointers displayed at task edges.

Note

The Editable option must be enabled and the ReadOnly option must be disabled to allow users to modify tasks.

You can handle the following events to customize an operation:

See Interactive Editing for more information.

See Also

Interactive Editing

GanttControl Class

GanttControl Members

DevExpress.XtraGantt Namespace