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

GanttControl.CustomCalcTaskDependency Event

In This Article

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

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.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