Skip to main content
All docs
V25.2
  • 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.v25.2.dll

    NuGet Package: DevExpress.Win.Gantt

    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
    .OptionsBehavior .ScheduleMode

    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.

    The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ScheduleMode 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.

    See Also