HypernovaDesktop Components · docs
Binarymission
WinForms › Project Management › TaskConstraintKind

TaskConstraintKind

enum.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ProjectManagement

How a task's own planned date holds it, in addition to its links: as the earliest it may start, as a date it must start on, or as the earliest it may finish.

public enum TaskConstraintKind

Remarks

Set it with ProjectTask.Constraint. The date it applies to is ProjectTask.Start, except for TaskConstraintKind.FinishNoEarlierThan, which reads ProjectTask.Finish (and falls back to ProjectTask.Start when the task has no planned finish). A constraint whose date is not set has no effect.

See also

Members at a glance

Members
FinishNoEarlierThanThe task finishes on ProjectTask.Finish or later: its start is held back until it would finish no earlier than that date. With no planned finish, ProjectTask.Start is read as a start-no-earlier-than date instead.
MustStartOnThe task starts on ProjectTask.Start even when its links or its summary would hold it later. The clash is reported as ScheduleProblemKind.ConstraintConflict in ProjectSchedule.Problems, and the date is kept.
StartNoEarlierThanThe task starts on ProjectTask.Start or later: its links may push it later, never earlier. This is the default, and what a planned start means when nothing else is said.

Members

FinishNoEarlierThan

The task finishes on ProjectTask.Finish or later: its start is held back until it would finish no earlier than that date. With no planned finish, ProjectTask.Start is read as a start-no-earlier-than date instead.

MustStartOn

The task starts on ProjectTask.Start even when its links or its summary would hold it later. The clash is reported as ScheduleProblemKind.ConstraintConflict in ProjectSchedule.Problems, and the date is kept.

StartNoEarlierThan

The task starts on ProjectTask.Start or later: its links may push it later, never earlier. This is the default, and what a planned start means when nothing else is said.