Back to Devexpress

GanttControl.TaskMoveCompleted Event

windowsforms-devexpress-dot-xtragantt-dot-ganttcontrol-345b0e94.md

latest5.1 KB
Original Source

GanttControl.TaskMoveCompleted Event

Fires when a user finishes moving a task. 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 TaskMovingEventHandler TaskMoveCompleted
vb
<DXCategory("Events")>
Public Event TaskMoveCompleted As TaskMovingEventHandler

Event Data

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

PropertyDescription
CurrentTaskFinishGets or sets the processed task’s current (during the operation) finish date.
CurrentTaskStartGets or sets the processed task’s current (during the operation) start date.
OriginalTaskFinishGets the processed task’s original (before the operation) finish date.
OriginalTaskStartGets the processed task’s original (before the operation) start date.
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 AllowModifyTasks option is enabled, users can reschedule a task. Users can use the mouse pointer to resize its duration or drag it to a new time slot.

To resize a task, move the mouse pointer over a task’s edge.

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