# GC.Spread.Sheets.GanttSheet.NonWorkingTimeStyle

## Content

# Class: NonWorkingTimeStyle

[Sheets](../modules/GC.Spread.Sheets).[GanttSheet](../modules/GC.Spread.Sheets.GanttSheet).NonWorkingTimeStyle

## Table of contents

### Constructors

- [constructor](GC.Spread.Sheets.GanttSheet.NonWorkingTimeStyle#constructor)

### Properties

- [color](GC.Spread.Sheets.GanttSheet.NonWorkingTimeStyle#color)
- [drawMode](GC.Spread.Sheets.GanttSheet.NonWorkingTimeStyle#drawmode)
- [pattern](GC.Spread.Sheets.GanttSheet.NonWorkingTimeStyle#pattern)

## Constructors

### <a id="constructor" name="constructor"></a> constructor

• **new NonWorkingTimeStyle**()

Creates the instance to configure non working time area on GanttChart. Internal used only.

**`classdesc`** Represents the non working time area on GanttChart.

## Properties

### <a id="color" name="color"></a> color

• **color**: `string`

Gets or sets the color used to draw the non working time area on GanttChart. The default value is "#F7F7F7".

**`default`** "#F7F7F7"

___

### <a id="drawmode" name="drawmode"></a> drawMode

• **drawMode**: [`NonWorkingTimeDrawMode`](../modules/GC.Spread.Sheets.GanttSheet#nonworkingtimedrawmode)

Gets or sets a value that indicates how to draw the non working time area on GanttChart.

___

### <a id="pattern" name="pattern"></a> pattern

• **pattern**: [`TaskbarFillPattern`](../modules/GC.Spread.Sheets.GanttSheet#taskbarfillpattern)

Gets or sets the fill pattern used to draw the non working time area on GanttChart. The default value is 'solidFill'.
