Back to Devexpress

GanttControl.TaskProgressModificationCanceled Event

windowsforms-devexpress-dot-xtragantt-dot-ganttcontrol-2aa848d1.md

latest4.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Gantt

Declaration

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

Event Data

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

PropertyDescription
CurrentProgressGets the processed task’s current (after the operation) progress. Inherited from TaskProgressModifiedEventArgs.
OriginalProgressGets the processed task’s original (before the operation) progress. Inherited from TaskProgressModifiedEventArgs.
ProcessedNodeGets the modified node. Inherited from TaskModificationEventArgs.
ProcessedTaskGets the modified task. Inherited from TaskModificationEventArgs.
TaskSplitInfoGets information about segments of the processed split task. Inherited from TaskModificationEventArgs.

Remarks

If the AllowModifyProgress option is enabled, users can update a task’s progress.

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