Hello,
I have read this thread and this article and this seems much cleaner than with the RadScheduler. I have this working reasonably well with RadScheduler. I want to use ScheduleView for several other features.
For Day and Week views, I want to style times of the day that are ReadOnly (unavailable for scheduling), but these are a function of the ITEM being scheduled and some equation related to the calendar date. I don't think Resources are the answer since each item to be scheduled knows the size of the appointment slot it requires and can also compute the legal Start/End time ranges they can be schedule into for any specific calendar day.
With the RadScheduler, I bound the Free/BusySlotTemplate to a property that computed whether each slot being displayed was a free or busy slot. This changed slightly depending on which specific datagrid item was selected or being dragged onto the schedule.
The function that computed free/busy style of the calendar slot is not related to the Day-of-week related. Imagine the scheduling hours being related to something like Sunrise/Sunset which changes a little bit daily and that's a reasonably good analogy.
With ScheduleView, I'd like to achieve a similar thing, but am not quite sure how to do this efficiently since it seems to want me to define a collection of these things up front. In addition, it seems I'd have to recompute this collection each time I selected something in the grid? Since I don't know how far in the future/past the user may browse in the calendar, it would be too expensive to generate this collection for all possible days.
[Side Note: I'm using MVVM-Lite ]
Any suggestions?
Thanks!
I have read this thread and this article and this seems much cleaner than with the RadScheduler. I have this working reasonably well with RadScheduler. I want to use ScheduleView for several other features.
For Day and Week views, I want to style times of the day that are ReadOnly (unavailable for scheduling), but these are a function of the ITEM being scheduled and some equation related to the calendar date. I don't think Resources are the answer since each item to be scheduled knows the size of the appointment slot it requires and can also compute the legal Start/End time ranges they can be schedule into for any specific calendar day.
With the RadScheduler, I bound the Free/BusySlotTemplate to a property that computed whether each slot being displayed was a free or busy slot. This changed slightly depending on which specific datagrid item was selected or being dragged onto the schedule.
The function that computed free/busy style of the calendar slot is not related to the Day-of-week related. Imagine the scheduling hours being related to something like Sunrise/Sunset which changes a little bit daily and that's a reasonably good analogy.
With ScheduleView, I'd like to achieve a similar thing, but am not quite sure how to do this efficiently since it seems to want me to define a collection of these things up front. In addition, it seems I'd have to recompute this collection each time I selected something in the grid? Since I don't know how far in the future/past the user may browse in the calendar, it would be too expensive to generate this collection for all possible days.
[Side Note: I'm using MVVM-Lite ]
Any suggestions?
Thanks!