Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ConstraintMode Enum

Enumerates values that specify whether the control automatically applies a constraint to a task when a user changes a task’s start or finish date.

Namespace: DevExpress.XtraGantt.Options

Assembly: DevExpress.XtraGantt.v24.2.dll

NuGet Package: DevExpress.Win.Gantt

#Declaration

public enum ConstraintMode

#Members

Name Description
Default

The mode is not specified explicitly. Enables Auto mode.

Auto

The control automatically applies the Start No Earlier Than constraint to a task if you change its start date and the Finish No Earlier Than constraint if you change its finish date.

Manual

The control does not automatically apply a constraint if you change a task’s start or finish date.

#Related API Members

The following properties accept/return ConstraintMode values:

See Also