All docs
V21.2
21.2
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
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.

GanttControl.CustomCalcTaskDependency Event

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

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v21.2.dll

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