# Nonworking Time Color

## Content



The nonworking time denotes the time duration during which no work is being carried out, like company holidays, weekends, and so on.

![Displays customized nonworing-time line in the GanttView](https://cdn.mescius.io/document-site-files/images/7e40233e-00f6-4cd8-af13-0764ef4e9235/images/nonworkingtimecolorganttview.png)

You can change the color of nonworking time line by using the **NonworkingTimeColor** property of the **C1GanttView** class.

Use the below code snippet to change the nonworking time color in the GanttView.

```csharp
//Set the nonworking-time
c1GanttView1.NonworkingTimeColor = Color.Blue;
```