GanttControlOptionsBehavior.ScheduleMode Property
Gets or sets whether the control automatically reschedules all dependent tasks when a user modifies a particular task. Default is equivalent to Auto.
Namespace: DevExpress.XtraGantt.Options
Assembly: DevExpress.XtraGantt.v24.2.dll
Declaration
[DefaultValue(ScheduleMode.Default)]
[XtraSerializableProperty]
public ScheduleMode ScheduleMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ScheduleMode | Default | A value that specifies whether the control automatically updates tasks. |
Available values:
Name | Description |
---|---|
Default | The mode is not specified explicitly. Enables Auto mode. |
Auto | When a user modifies a task, the control automatically reschedules the processed task and all dependent tasks. |
Manual | When a user modifies a task, the control does not reschedule the processed task and dependent tasks. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ScheduleMode |
---|---|
GanttControl |
|
Remarks
Note that when you change the ScheduleMode
property value from Manual to Auto, the control does not automatically reschedules the project. In Auto mode, the control reschedules dependent tasks only when a specific task changes. You should call the ScheduleFromStartDate(DateTime) or ScheduleToFinishDate(DateTime) method to forcibly reschedule the entire project relative to a specific start or finish date.
See Interactive Editing for more information.