Holidays

18 Nov 20181 minute to read

Non-working days in a project can be displayed in the Gantt control using the Holidays property. Each holiday can be defined with the following properties:

  • From: Defines start date of the holiday(s).
  • To: Defines end date of the holiday(s).
  • Label: Defines the description or label for the holiday.
  • CssClass: Formats the holidays label in the Gantt chart.

The following code example shows how to display the non-working days in the Gantt control.

The following screenshot shows the output of Holidays in Gantt control.

Alt text