GanttControl.TaskProgressModificationCanceled Event
Fires when a user presses Esc to cancel modifying a task’s progress. 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.v24.2.dll
NuGet Package: DevExpress.Win.Gantt
#Declaration
[DXCategory("Events")]
public event TaskProgressModificationCanceledEventHandler TaskProgressModificationCanceled
#Event Data
The TaskProgressModificationCanceled event's data class is TaskProgressModificationCanceledEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Current |
Gets the processed task’s current (after the operation) progress.
Inherited from Task |
Original |
Gets the processed task’s original (before the operation) progress.
Inherited from Task |
Processed |
Gets the modified node.
Inherited from Task |
Processed |
Gets the modified task.
Inherited from Task |
Task |
Gets information about segments of the processed split task.
Inherited from Task |
#Remarks
If the AllowModifyProgress option is enabled, users can update a task’s progress.
Note
The Editable option must be enabled and the Read
You can handle the following events to customize an operation:
- TaskProgressModificationStarted — fires when a user starts to modify a task’s progress.
- TaskProgressModification — repeatedly fires when a user modifies a task’s progress.
TaskProgressModificationCanceled
— fires when a user presses Esc to cancel the operation.- TaskProgressModificationCompleted — fires when a user finishes modifying progress. Allows you to cancel the operation.
- TaskProgressModified — fires when a task’s progress is successfully modified.
See Interactive Editing for more information.