Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PredecessorLinkEditedEventArgs Class

Provides data for the GanttView.PredecessorLinkEdited event.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v24.2.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