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 NonworkingTimes collection is accessible through the
NonworkingTimes
property of the control. 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
ShowNonworkingTime property
shows or hides the defined non-working intervals.
The NonworkingTime's advantages are:
- highlight the interval of time as non-working with a different patterns,
colors.
- any/all day can display different intervals of time as non-working
- you can specify the non-working interval using an expression, that
defines the days where the non-working interval is shown.
The following screen shot shows different days with different non-working
area:

The object supports the following properties and methods: