ComponentOne GanttView for WinForms
Appearance and Styling / Nonworking Time Color
In This Topic
    Nonworking Time Color
    In This Topic

    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

    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.

    C#
    Copy Code
    //Set the nonworking-time
    c1GanttView1.NonworkingTimeColor = Color.Blue;