GanttControl.TaskDependencyModificationCompleted Event
Fires when a user finishes modifying a dependency. Allows you to cancel the operation.
Namespace: DevExpress.XtraGantt
Assembly: DevExpress.XtraGantt.v24.2.dll
NuGet Package: DevExpress.Win.Gantt
#Declaration
[DXCategory("Events")]
public event TaskDependencyModificationEventHandler TaskDependencyModificationCompleted
#Event Data
The TaskDependencyModificationCompleted event's data class is TaskDependencyModificationCancelEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Allow | Gets or sets whether users are allowed to modify the dependency. |
Cancel | Allows you to cancel the operation. |
Change |
Gets the type of the operation.
Inherited from Task |
Original |
Gets the processed dependency’s original (before the operation) successor node.
Inherited from Task |
Original |
Gets the processed dependency’s original (before the operation) successor task.
Inherited from Task |
Predecessor |
Gets the processed dependency’s current (during the operation) predecessor node.
Inherited from Task |
Predecessor |
Gets the processed dependency’s current (during the operation) predecessor task.
Inherited from Task |
Successor |
Gets the processed dependency’s current (during the operation) successor node.
Inherited from Task |
Successor |
Gets the processed dependency’s current (during the operation) successor task.
Inherited from Task |
Type |
Gets the type of the processed dependency.
Inherited from Task |
#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 Read
You can handle the following events to customize an operation:
- TaskDependencyModification — repeatedly fires when the user modifies a task’s dependency.
- TaskDependencyModificationCanceled — fires when the user presses Esc to cancel the operation.
TaskDependencyModificationCompleted
— fires when a user finishes modifying a dependency. Allows you to cancel the operation.- TaskDependencyModified — fires when a task’s dependency is successfully modified.
See Interactive Editing for more information.