wpf-devexpress-dot-xpf-dot-gantt-cc373e94.md
Provides data for the GanttView.PredecessorLinkEdited event.
Namespace : DevExpress.Xpf.Gantt
Assembly : DevExpress.Xpf.Gantt.v25.2.dll
NuGet Package : DevExpress.Wpf.Gantt
public sealed class PredecessorLinkEditedEventArgs :
RoutedEventArgs
Public NotInheritable Class PredecessorLinkEditedEventArgs
Inherits RoutedEventArgs
PredecessorLinkEditedEventArgs is the data class for the following events:
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.
Object EventArgs RoutedEventArgs PredecessorLinkEditedEventArgs
See Also