Hi,
When I schedule 10 minut appointments and the timeslots for the XamDayView is 15 minutes the aspect of the calendar is the following:
Is there a way to define a main timeslot durationfor the XamDayView it self and then use a secundary timeslot, individual to each calendar, so that I don't have that aspect in appointments with durations inferior to the control's timeslot.
My objective is to have, in each calendar, appointments that with the exact duration of the calendar's timeslot. i.e. I want the appointments to be rectangular.
If it is not possible, how can I remove that extra area, and make the appointment's height to be proportional to the duration, like Appointment3 & 4 in the following image:
Andrew Smith"]Presumably you mean that the size of the timeslots with the bigger interval would be larger than that of the smaller interval so that overall they require the same scrolling extent and utilize the same viewport extent for the same amount of time
Yes, this was what I was thinking.
Andrew Smith"]What is the scenario then that one would want such a thing?
I believe I once used in Excel something like that regarding graphics and different scaling, a main one on the left (like the XamDayView timeslots) and then a secondary one (in this case for the calendars) . But i could be wrong, I'm not quite sure.My objective with this is to have rectangular appointments, without the notch you talk about, in my calendars.
But, as you pointed out, I didn't think about the scrolling, I don't know if it would play out nice.
I did see that but wasn't quite sure how you saw that working. I mean the timeslots have to scroll together so it sounds like you're talking about a situation whereby the timeslot headers don't line up with the actual timeslots. Presumably you mean that the size of the timeslots with the bigger interval would be larger than that of the smaller interval so that overall they require the same scrolling extent and utilize the same viewport extent for the same amount of time. What is the scenario then that one would want such a thing?
In any case this is not something currently supported. If you submit a suggestion for it try to include as many details about scenarios/expectations as required since there wouldn't be a model to follow on this.
Hi Andrew,
Thanks for the quick reply.
I don't know if you saw but I wrote another paragraph that was supposed to be a question but I forgot to put the question mark. Just to confirm:
Is there a way to define a main timeslot durationfor the XamDayView it self and then use a secundary timeslot, individual to each calendar, so that I don't have that aspect in appointments with durations inferior to the control's timeslot?
The xamSchedule controls mimic Microsoft Outlook's layout. Outlook's Day view uses the height of the timeslot as the minimum height of the activity and then uses a notch to indicate the portion of the timeslot that the activity actually occupies. Currently there is no way to change this behavior. You may submit a suggestion here.Also I don't think you would want the height of the activity to be the actual duration since for small durations (e.g. a 0 minute appt) you would not see anything and if the notch isn't shown you wouldn't have any way to distinguish a 0 min activity from one that was the duration of the timeslot or less.