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.

GanttControlOptionsCustomization.AllowModifyTasks Property

Gets or sets whether users can modify a task’s start and finish dates in the chart: resize its bounds or move it to a new time slot.

Namespace: DevExpress.XtraGantt.Options

Assembly: DevExpress.XtraGantt.v21.2.dll

Declaration

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

Property Value

Type Default Description
DefaultBoolean

Default

True, if users can modify a task’s start and finish dates; otherwise, Default or False.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowModifyTasks
GanttControl
.OptionsCustomization.AllowModifyTasks

Remarks

If the AllowModifyTasks option is enabled, users can reschedule a task. Users can use the mouse pointer to resize its duration or drag it to a new time slot.

image

To resize a task, move the mouse pointer over a task’s edge.

image

Note

The Editable option must be enabled and the ReadOnly option must be disabled to allow users to modify tasks.

You can handle the following events to customize an operation:

See Interactive Editing for more information.

See Also