Skip to main content

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

GanttControlOptionsBehavior.TaskDateChangeMode Property

Gets or sets whether the control shifts a task or extends/reduces its duration when a user changes the task’s start or finish date.

Namespace: DevExpress.XtraGantt.Options

Assembly: DevExpress.XtraGantt.v24.2.dll

NuGet Package: DevExpress.Win.Gantt

#Declaration

[DefaultValue(TaskDateChangeMode.Default)]
[XtraSerializableProperty]
public TaskDateChangeMode TaskDateChangeMode { get; set; }

#Property Value

Type Default Description
TaskDateChangeMode Default

A value that specifies whether the control shifts a task or extends/reduces its duration when a user changes the task’s start or finish date.

Available values:

Name Description
Default

The mode is not specified explicitly. Enables MoveTask mode.

MoveTask

The control shifts a task when a user changes the task’s start or finish date.

UpdateDuration

The control extends/reduces a task’s duration when a user changes the task’s start or finish date.

#Property Paths

You can access this nested property as listed below:

Object Type Path to TaskDateChangeMode
GanttControl
.OptionsBehavior .TaskDateChangeMode

#Remarks

The TaskDateChangeMode property specifies how a task changes when a user changes the task’s start or finish date:

  • MoveTask — the control shifts a task when a user changes the task’s start or finish date.
  • UpdateDuration — the control extends/reduces a task’s duration when a user changes the task’s start or finish date.

See Also