All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

PredecessorLinkEditedEventArgs Class

Provides data for the GanttView.PredecessorLinkEdited event.

Namespace: DevExpress.Xpf.Gantt

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

Declaration

public sealed class PredecessorLinkEditedEventArgs :
    RoutedEventArgs
Public NotInheritable Class PredecessorLinkEditedEventArgs
    Inherits 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