property Schedule.MarkZones as MarkZones
Retrieves the MarkZones collection of the scheduler.

TypeDescription
MarkZones A MarkZones object that holds a collection of the MarkZone objects.
The MarkZones property gets the MarkZones collection. The MarkZones collection holds a set of MarkZone objects ( also called time-zone ). A MarkZone object holds information about a time-zone. A time-zone is identified by a Start/End date time, what can be highlighted in the schedule view. The ShowMarkZone property shows or hides the added time-zones. Use the Add method of the MarkZones collection to add a new time-zone to the control. The MarkZoneFromPoint property indicates the time-zone from the cursor.

The MarkZone object can:

A time-zone ( MarkZone object ) requires the Start/End to define the zone, while a timer ( MarkTime object ) requires a Time, that indicates where the timer is shown.

The following screen shot shows a time-zone in the control: