GanttControlOptionsCustomization.AllowModifyProgress Property
Gets or sets whether users can modify a task’s progress in the chart.
Namespace: DevExpress.XtraGantt.Options
Assembly: DevExpress.XtraGantt.v24.1.dll
NuGet Package: DevExpress.Win.Gantt
Declaration
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean AllowModifyProgress { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default | True, if users can modify a task’s progress; otherwise, Default or False. |
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowModifyProgress |
---|---|
GanttControl |
|
Remarks
If the AllowModifyProgress
option is enabled, users can update a task’s progress.
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:
- TaskProgressModificationStarted — fires when a user starts to modify a task’s progress.
- TaskProgressModification — repeatedly fires when a user modifies a task’s progress.
- TaskProgressModificationCanceled — fires when a user presses Esc to cancel the operation.
- TaskProgressModificationCompleted — fires when a user finishes modifying progress. Allows you to cancel the operation.
- TaskProgressModified — fires when a task’s progress is successfully modified.
See Interactive Editing for more information.