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 |
---|---|---|
Task |
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 Move |
Move |
The control shifts a task when a user changes the task’s start or finish date. |
Update |
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 Task |
---|---|
Gantt |
|
#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.