Back to Devexpress

PredecessorLinkEditCanceledEventArgs.LinkType Property

wpf-devexpress-dot-xpf-dot-gantt-dot-predecessorlinkeditcanceledeventargs-3d75abec.md

latest2.0 KB
Original Source

PredecessorLinkEditCanceledEventArgs.LinkType Property

Gets the type of the edited link.

Namespace : DevExpress.Xpf.Gantt

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public PredecessorLinkType? LinkType { get; }
vb
Public ReadOnly Property LinkType As PredecessorLinkType?

Property Value

TypeDescription
Nullable<PredecessorLinkType>

One of the PredecessorLinkType enumeration values.

|

Available values:

NameDescription
FinishToStart

The successor task may not start before the predecessor task is finished.

| | FinishToFinish |

The successor task may not finish before the predecessor task is finished.

| | StartToStart |

The successor task may not start before the predecessor task is started.

| | StartToFinish |

The successor task may not finish before the predecessor task is started.

|

Remarks

When an end user cancels adding a new connector, the LinkType property returns null.

Use the LinkType property to get the edited link type. The edited link’s data object can be accessed with the PredecessorLink property.

See Also

PredecessorLinkEditCanceledEventArgs Class

PredecessorLinkEditCanceledEventArgs Members

DevExpress.Xpf.Gantt Namespace