Files to look at:
- MainPage.xaml (VB: MainPage.xaml)
- MainPage.xaml.cs (VB: MainPage.xaml.vb)
How to customize appointment tooltips
The following example demonstrates how to customize the visual representation of appointment tooltips, including showing resource images within appointment tooltips.
Description
To show resource images within tooltips displayed for appointments, you should do the following:
1. Handle the SchedulerControl.AppointmentViewInfoCustomizing event.
2. In the event handler, assign the resource images to the CustomViewInfo property of the AppointmentViewInfo object, which is accessible via AppointmentViewInfoCustomizingEventArgs.ViewInfo.
3. In XAML, define a custom template for the appointment tooltips and bind the Image object to the CustomViewInfo property.
4. Assign the template to the AppointmentToolTipContentTemplate property.