property Schedule.ShowNonworkingTime as ShowNonworkingTimeEnum
Returns or sets a value that indicates whether the schedule panel displays nonworking time.

TypeDescription
ShowNonworkingTimeEnum A ShowNonworkingTimeEnum expression that defines how the non-working time-zones are displayed.
By default, the ShowNonworkingTime property is exShowNonworkingTimeFront. The ShowNonworkingTime property shows or hides the defined non-working intervals. The Add method of the NonworkingTimes objects adds a new non-working time interval. The NonworkingTimes collection is accessible through the NonworkingTimes property of the control. The Expression property indicates the expression that defines the dates to include the specified non-working interval. The IsValid property indicates whether the non-working expression is valid, and so, if it is visible or hidden. The StartTime/EndTime property defines the time to start/end the non-working time-zone. The NonworkingTimeFromPoint property gets the non-working object from the cursor.

The NonworkingTimes object holds a collection of NonworkingTime objects. The NonworkingTime object indicates a time interval to be shown as non-working. Each NonworkingTime object can associate a NonworkingPattern object that specifies the colors and the pattern to show the non-working zone. The NonworkingPatterns collection is accessible through the NonworkingPatterns property of the control. The NonworkingDays property of the calendar defines the days to be non-working in the calendar. 

The NonworkingTime's advantages are: