Back to Devexpress

GanttControl.CustomCalcTaskDependency Event

windowsforms-devexpress-dot-xtragantt-dot-ganttcontrol-b6bfad11.md

latest3.0 KB
Original Source

GanttControl.CustomCalcTaskDependency Event

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

Namespace : DevExpress.XtraGantt

Assembly : DevExpress.XtraGantt.v25.2.dll

NuGet Package : DevExpress.Win.Gantt

Declaration

csharp
[DXCategory("Events")]
public event CustomCalcTaskDependencyEventHandler CustomCalcTaskDependency
vb
<DXCategory("Events")>
Public Event CustomCalcTaskDependency As CustomCalcTaskDependencyEventHandler

Event Data

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

PropertyDescription
ArrowBoundsGets or sets the dependency arrow’s bounds.
DependencyTypeGets the dependency type (finish-to-start, finish-to-finish, etc.).
HandledGets or sets whether the event is handled. Suppresses the default calculation.
LinesGets the list of lines that specify the dependency line.
PredecessorDurationGets the predecessor task’s duration.
PredecessorFinishDateGets the predecessor task’s finish date.
PredecessorStartDateGets the predecessor task’s start date.
RotateArrowGets or sets how much the arrow is rotated and the axis used to flip the arrow.
SuccessorDurationGets the successor task’s duration.
SuccessorFinishDateGets the successor task’s finish date.
SuccessorStartDateGets the successor task’s start date.

See Also

GanttControl Class

GanttControl Members

DevExpress.XtraGantt Namespace