Back to Devexpress

GanttControl.TaskDependencyModificationCompleted Event

windowsforms-devexpress-dot-xtragantt-dot-ganttcontrol-5e0d6c57.md

latest5.7 KB
Original Source

GanttControl.TaskDependencyModificationCompleted Event

Fires when a user finishes modifying a dependency. Allows you to cancel the operation.

Namespace : DevExpress.XtraGantt

Assembly : DevExpress.XtraGantt.v25.2.dll

NuGet Package : DevExpress.Win.Gantt

Declaration

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

Event Data

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

PropertyDescription
AllowGets or sets whether users are allowed to modify the dependency.
CancelAllows you to cancel the operation.
ChangeTypeGets the type of the operation. Inherited from TaskDependencyModificationEventArgs.
OriginalSuccessorNodeGets the processed dependency’s original (before the operation) successor node. Inherited from TaskDependencyModificationEventArgs.
OriginalSuccessorTaskGets the processed dependency’s original (before the operation) successor task. Inherited from TaskDependencyModificationEventArgs.
PredecessorNodeGets the processed dependency’s current (during the operation) predecessor node. Inherited from TaskDependencyModificationEventArgs.
PredecessorTaskGets the processed dependency’s current (during the operation) predecessor task. Inherited from TaskDependencyModificationEventArgs.
SuccessorNodeGets the processed dependency’s current (during the operation) successor node. Inherited from TaskDependencyModificationEventArgs.
SuccessorTaskGets the processed dependency’s current (during the operation) successor task. Inherited from TaskDependencyModificationEventArgs.
TypeGets the type of the processed dependency. Inherited from TaskDependencyModificationEventArgs.

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