Skip to main content

GanttControlOptionsBehavior.LegacyScheduleMode Property

Gets or sets whether the control reschedules the task being modified with respect to the workweek schedule.

Namespace: DevExpress.XtraGantt.Options

Assembly: DevExpress.XtraGantt.v23.2.dll

NuGet Package: DevExpress.Win.Gantt

Declaration

[Browsable(false)]
public bool LegacyScheduleMode { get; set; }

Property Value

Type Description
Boolean

true if the control reschedules tasks with respect to the workweek schedule; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to LegacyScheduleMode
GanttControl
.OptionsBehavior .LegacyScheduleMode

Remarks

If the ScheduleMode property is set to Manual, the control does not automatically reschedule tasks. That is, when a user modifies a task, the control does not reschedule the modified task and dependent tasks. For example, if a task ends or stars at non-working hours, it is not automatically prolonged in working hours.

See Interactive Editing to learn more.

You can set the LegacyScheduleMode to true to reschedule the modified task only. That is, if the the modified task starts or ends at non-working hours (weekend, holiday, or exception), it is automatically prolonged in the working hours. Dependent tasks are not rescheduled. This is a legacy behavior used in v19.2. If the static (Shared in VB) DefaultSettingsCompatibilityMode field is set to v19_2, the control also behaves as earlier.

See Workweek Schedule and Exceptions to learn how to specify the workweek schedule.

See Also