Back to Devexpress

PredecessorLinkEditedEventArgs Class

wpf-devexpress-dot-xpf-dot-gantt-cc373e94.md

latest3.3 KB
Original Source

PredecessorLinkEditedEventArgs Class

Provides data for the GanttView.PredecessorLinkEdited event.

Namespace : DevExpress.Xpf.Gantt

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public sealed class PredecessorLinkEditedEventArgs :
    RoutedEventArgs
vb
Public NotInheritable Class PredecessorLinkEditedEventArgs
    Inherits RoutedEventArgs

PredecessorLinkEditedEventArgs is the data class for the following events:

Remarks

The event arguments properties allow you to get the following info about the edited predecessor link (connector):

PropertyDescription
OldSuccessorGets the successor task that was linked to the predecessor task before editing the connector.
SuccessorGets the successor task that is linked to the predecessor task after editing the connector.
PredecessorGets a predecessor task.
PredecessorLinkGets an edited predecessor link (connector).
LinkTypeGets the type of the edited link.

The predecessor link (connector) connects two tasks: a predecessor and successor task.

Use the Successor property to get the successor task that is connected to the predecessor task after editing the connector.

The OldSuccessor property returns the successor task that was linked to the predecessor task before editing the connector.

The Predecessor property returns the predecessor task.

Use the ChangeType property to detect how an end user changed the connector: edited, deleted, or created a new one.

You can undo the applied changes by setting the Cancel property to true.

Inheritance

Object EventArgs RoutedEventArgs PredecessorLinkEditedEventArgs

See Also

PredecessorLinkEditedEventArgs Members

DevExpress.Xpf.Gantt Namespace