I want to display work days vs non-work days in different colors as well as working hours vs non-working hours. I figured out how to do that using CalendarLook.DaysOfWeekLook[dow].Appearance.BackColor and CalendarInfo.DaysOfWeek[dow].WorkDayStartTime, for example.
However, I have a requirment where each day is unique, not each day of the week. So, for example, we may have a situation where this Monday is a work-day 8am- 5pm but next week, Monday is a Non-Work day, and the following Monday it’s a work day from 9am – 6pm. So, now I can't use the DaysOfTheWeek object. I will need to set some properties at the Day level but I can't find the same kind of properties on the Day object.
Is there anyway to do this?
Is there any way to do the same thing or similar on Infragistics 2008?
WIth the NetAdvantage 2009.1 release, two properties were added to the Owner class that make this possible: DateSettings and RecurringDateSettings. The former allows you to specify working hours on a per-day basis, although it is only available on each individual Owner, not at the UltraCalendarInfo level.