windowsforms-devexpress-dot-xtragantt-dot-options-dot-ganttcontroloptionscustomization-790c435b.md
Gets or sets whether users can modify a task’s progress in the chart.
Namespace : DevExpress.XtraGantt.Options
Assembly : DevExpress.XtraGantt.v25.2.dll
NuGet Package : DevExpress.Win.Gantt
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean AllowModifyProgress { get; set; }
<XtraSerializableProperty>
<DefaultValue(DefaultBoolean.Default)>
Public Property AllowModifyProgress As DefaultBoolean
| 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.
|
0
| | False |
The value is false.
|
1
| | Default |
The value is specified by a global option or a higher-level object.
|
2
|
You can access this nested property as listed below:
| Object Type | Path to AllowModifyProgress |
|---|---|
| GanttControl |
.OptionsCustomization .AllowModifyProgress
|
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:
See Interactive Editing for more information.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowModifyProgress property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
xaf-win-gantt-control/CS/XPO/GanttSolutionXPO/GanttSolutionXPO.Win/Editors/CustomGanttEditor.cs#L88
control.OptionsCustomization.AllowModifyDependencies = DevExpress.Utils.DefaultBoolean.True;
control.OptionsCustomization.AllowModifyProgress = DevExpress.Utils.DefaultBoolean.True;
control.SelectionChanged += Control_SelectedIndexChanged;
See Also
UpdateSummaryProgress(GanttControlNode)
GanttControlOptionsCustomization Class