ConstraintType Enum
Enumerates values that specify constraint types (As Soon As Possible, Start No Later Than, and so on).
Namespace: DevExpress.XtraGantt
Assembly: DevExpress.XtraGantt.v24.2.dll
Declaration
Members
Name | Description | Value |
---|---|---|
AsSoonAsPossible
|
The task should start as soon as possible. This is the default constraint. |
0 |
AsLateAsPossible
|
The task should start as late as possible but it should not delay other tasks so that they violate their constraints. |
1 |
StartNoEarlierThan
|
The task’s start date should be later than or equal to the specified date. |
2 |
StartNoLaterThan
|
The task’s start date should be earlier than or equal to the specified date. |
3 |
FinishNoEarlierThan
|
The task’s finish date should be later than or equal to the specified date. |
4 |
FinishNoLaterThan
|
The task’s finish date should be earlier than or equal to the specified date. |
5 |
MustStartOn
|
The task’s start date should be equal to the specified date. |
6 |
MustFinishOn
|
The task’s finish date should be equal to the specified date. |
7 |
Remarks
The DataSource property specifies the data source that contains tasks. Use the ConstraintTypeFieldName property to specify the name of the field that stores types of constraints applied to the tasks.
The field’s data type should be either ConstraintType
or Int32. The ConstraintType
enumeration is a set of named integer constants. You can store constraint types as integers in the data source.