property Schedule.NonworkingTimes as NonworkingTimes
Retrieves the NonworkingTimes collection of the scheduler, to specify different non-working time for different days.

TypeDescription
NonworkingTimes A NonworkingTimes object that holds a collection NonworkingTime objects.
The NonworkingTimes collection is accessible through the NonworkingTimes property of the control. The Add method of the NonworkingTimes objects adds a new non-working time interval. 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 ShowNonworkingTime property shows or hides the defined non-working intervals. 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:

The following screen shot shows different days with different non-working area: