Skip to main content

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.1.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.

image

See Also