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

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.v21.2.dll

Declaration

public enum ConstraintType

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.

See Also