I'm using the dayview control to display multiple owners at the same time. Each owner may have different availability - they are actually machines in my app, and each machine may only be operating for certain times of the day.
Is it possible to display this availability in the ultradayview? I want to be able to display a number of owners (machines) side by side, where some may have availability (indicated by the shaded areas in the times) for 9-12am, others 1-5pm, and others not at all.
Thanks.
Finally got around to looking at this. I can find and use the DayOfWeekSettings, but cant find the DateSettings property (which looked very handy).
I'm guessing this is because I'm using an older version (8.2).
Do you know where I can find out when DateSettings was introduced? I am licensed up to the next version I think, but am afraid to install it for all the stuff it might break.
I forgot to mention the RecurringDateSettings property which allows to to apply a recurrence pattern to the working hours, so you can have a set of hours apply to (for example) the first Monday of every month.
Thanks a lot. I havnt had time to try this out yet, but reading up on it, I think that either a combination of dayOfweekSettings and DateSettings, or quite possibly DateSettings alone, will do what I'm after.
Yes, the Owner class exposes a DayOfWeekSettings property which is a collection that contains an object for each day of the week. That object has exposes a WorkingHours collection, which makes it possible to specify non-contiguous ranges like 9AM - 12PM, 1PM - 5PM, etc..
Note that the Owner class also exposes a DateSettings property which does the same thing except it is for specific days rather than days of the week.