Hi Mike,
Thanks for using Syncfusion product.
To add the multi span day appointment in a schedule control, you can use the AddSpanAppointment method. Please refer to the following code snippet to add the multi span day appointment in schedule control,
Code Snippet:
ArrayListDataProvider dataprovider = new Syncfusion.Schedule.ArrayListDataProvider();
IScheduleAppointment appointment = dataprovider.NewScheduleAppointment();
appointment = dataprovider.NewScheduleAppointment();
appointment.StartTime = DateTime.Now;
appointment.EndTime = DateTime.Now.AddDays(4);
appointment.AllDay = true;
appointment.Subject = "Leave";
appointment.LabelValue = 1;
appointment.AllowResize = false;
appointment.AllowDrag = false;
//Convert the appointment as the recurrence schedule appointment
IRecurringScheduleAppointment recurrenceAppointment = appointment as IRecurringScheduleAppointment;
//Add the multi-span day appointment to the schedule control
this.scheduleControl1.AddSpanAppointment(recurrenceAppointment, dataprovider);
this.scheduleControl1.DataSource = dataprovider;
Sample:
Regards,
Adhi