Skip to main content

GanttControl.CustomCalcTaskDependency Event

Fires before the control calculates a dependency line. Allows you to specify the dependency line.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v23.2.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

[DXCategory("Events")]
public event CustomCalcTaskDependencyEventHandler CustomCalcTaskDependency

Event Data

The CustomCalcTaskDependency event's data class is CustomCalcTaskDependencyEventArgs. The following properties provide information specific to this event:

Property Description
ArrowBounds Gets or sets the dependency arrow’s bounds.
DependencyType Gets the dependency type (finish-to-start, finish-to-finish, etc.).
Handled Gets or sets whether the event is handled. Suppresses the default calculation.
Lines Gets the list of lines that specify the dependency line.
PredecessorDuration Gets the predecessor task’s duration.
PredecessorFinishDate Gets the predecessor task’s finish date.
PredecessorStartDate Gets the predecessor task’s start date.
RotateArrow Gets or sets how much the arrow is rotated and the axis used to flip the arrow.
SuccessorDuration Gets the successor task’s duration.
SuccessorFinishDate Gets the successor task’s finish date.
SuccessorStartDate Gets the successor task’s start date.
See Also