Back to Devexpress

GanttView.TaskFinishDateMoving Event

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview-2e7ddfd4.md

latest4.5 KB
Original Source

GanttView.TaskFinishDateMoving Event

Occurs when an end user edits the task finish date (on MouseMove ) in the Gantt area. This is a routed event.

Namespace : DevExpress.Xpf.Gantt

Assembly : DevExpress.Xpf.Gantt.v25.2.dll

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public event EventHandler<TaskFinishDateMovingEventArgs> TaskFinishDateMoving
vb
Public Event TaskFinishDateMoving As EventHandler(Of TaskFinishDateMovingEventArgs)

Event Data

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

PropertyDescription
FinishDateGets or sets the currently edited task finish date.
HandledGets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
NodeGets the currently edited task.
OriginalSourceGets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
RoutedEventGets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
SourceGets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.

The event data class exposes the following methods:

MethodDescription
InvokeEventHandler(Delegate, Object)When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation. Inherited from RoutedEventArgs.
OnSetSource(Object)When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes. Inherited from RoutedEventArgs.

Remarks

Use the event argument’s TaskFinishDateMovingEventArgs.Node property to get the task whose finish date is edited.

You can change the edited finish date using the event argument’s TaskFinishDateMovingEventArgs.FinishDate property.

See Also

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace