This question is locked. New answers and comments are not allowed.
Hi Guys,
Is it possible to get access to the CalendarButton container from within a DataTemplate.
I need to display an image depending on the type of IAppointment. The CalendarButtonInfo data context does not provide this information.
I cannot use the example used for Special Days because it appears that the loading of the custom DataTemplate occurs before the AppointmentSource has returned the data and so I cannot evaluate the Appointments. Furthermore, the custom DataTemplate is only loaded on a Layout Change.
Regards,
Tarek
Is it possible to get access to the CalendarButton container from within a DataTemplate.
I need to display an image depending on the type of IAppointment. The CalendarButtonInfo data context does not provide this information.
I cannot use the example used for Special Days because it appears that the loading of the custom DataTemplate occurs before the AppointmentSource has returned the data and so I cannot evaluate the Appointments. Furthermore, the custom DataTemplate is only loaded on a Layout Change.
Regards,
Tarek