Skip to main content

PredecessorLinkEditedEventArgs Class

Provides data for the GanttView.PredecessorLinkEdited event.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v24.1.dll

NuGet Package: DevExpress.Wpf.Gantt

Declaration

public sealed class PredecessorLinkEditedEventArgs :
    RoutedEventArgs

Remarks

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

Property Description
OldSuccessor Gets the successor task that was linked to the predecessor task before editing the connector.
Successor Gets the successor task that is linked to the predecessor task after editing the connector.
Predecessor Gets a predecessor task.
PredecessorLink Gets an edited predecessor link (connector).
LinkType Gets 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