Back to Devexpress

GanttControlOptionsBehavior.TaskDateChangeMode Property

windowsforms-devexpress-dot-xtragantt-dot-options-dot-ganttcontroloptionsbehavior-3b0cf08f.md

latest2.8 KB
Original Source

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

NuGet Package : DevExpress.Win.Gantt

Declaration

csharp
[DefaultValue(TaskDateChangeMode.Default)]
[XtraSerializableProperty]
public TaskDateChangeMode TaskDateChangeMode { get; set; }
vb
<XtraSerializableProperty>
<DefaultValue(TaskDateChangeMode.Default)>
Public Property TaskDateChangeMode As TaskDateChangeMode

Property Value

TypeDefaultDescription
TaskDateChangeModeDefault

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:

NameDescription
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 TypePath 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

Interactive Editing

GanttControlOptionsBehavior Class

GanttControlOptionsBehavior Members

DevExpress.XtraGantt.Options Namespace