<< Hours' properties demo  >> Show source code for this site
Both the first and last visible hour could be specified that limits period the calendar works with:
HourOfDayBegin:
HourOfDayEnd:

A vertical scrolbar can be visible or hidden. Whether scrollbar is hidden all hours are visible on the screen together. Otherwise, you'll see only part of day:


And so, working time could be defined.
Working hours are specified by start and end hours, between which calendar appears cells with different, specified color:
WorkHourBegin:
WorkHourEnd:
And the free-days normally are controlled by property; however, there is a special event for custom defining. Every free day has same cells color regardless of working hours:
AmPmMode:



Programmer can control the hours-ruler presentation. Change mode of the hours (labels):
AmPmMode:
Or decide how hours ruler at the left side of the calendar will be rendered:

If you would look into a source code for this demo, click on the link.
For demonstration purposes all appointments displayed on a calendar are stored in ASP.NET session objects, so original values are restored immediately after a new session object is created.
A list of appointments and resources is intialized every time a new session is started.