The template of appointments can be easily customized in the SfSchedule by using the AppointmentTemplate property. This article explains how to create customized appointment template in the SfSchedule control.
Creating customized appointment template
Note: In the above template, “Subject” and “AppointmentBackground” properties of the ScheduleAppointment class are used for binding. When you use the custom data with appointment mapping feature in the SfSchedule to show appointments, you need to use the properties in the custom data of the AppointmentTemplate.
Note: Now, the appointments in the SfSchedule look as follows.
The following screenshots display the output in different views.
Figure 1: Customized appointment template in the month view
Figure 2: Customized appointment template in the day view
Figure 3: Customized appointment template in the timeline view
Figure 4: Customized appointment template in the week view
This page will automatically be redirected to the sign-in page in 10 seconds.