All docs
V21.2
21.2
21.1
20.2
20.1
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.

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

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.

image

See Also