Validation Modes in UWP Gantt Chart
18 Nov 20181 minute to read
The UWP Gantt Chart provides support to control task scheduling. The start and finish dates of a task can be validated automatically or manually. The following validation modes can be set to the ValidationMode property:
-
Manual: Allows users to control task scheduling; the start and finish dates are preserved as set by the user and are not recalculated when predecessors or non-working days change. The user is responsible for tracking the schedule of the task. -
Auto: Calculates the start and finish dates of a task based on its task dependencies (predecessors) and non-working days. When a predecessor moves or its progress changes, dependent tasks are rescheduled automatically.
<gantt:SfGantt ValidationMode="Auto">
</gantt:SfGantt>SfGantt sfGantt = new SfGantt();
sfGantt.ValidationMode = ValidationMode.Auto;By default, the validation mode is set to “Manual”.