Hello,
I have a problem, I want to drag an drop an item ListView items into SfSchedule with my custom entity.
public class RendezVous
{
public string Title{ get; set; }
public DateTime Start { get; set; }
public DateTime End { get; set; }
}
I don't want to use the ScheduleAppointment entity.
1] I took the WinRT example : https://www.syncfusion.com/kb/2854/how-to-do-a-draganddrop-of-listview-items-into-sfschedule-control.
2] I replace ScheduleAppointment with my RendezVous entity.
3] I had the DragOver event.
private void Schedule_DragOver(object sender, DragEventArgs e)
{
e.AcceptedOperation = DataPackageOperation.Copy;
}
4] I have the mapping
<syncfusion:SfSchedule.AppointmentMapping>
<syncfusion:ScheduleAppointmentMapping SubjectMapping="Title"
StartTimeMapping="Start"
EndTimeMapping="End" />
</syncfusion:SfSchedule.AppointmentMapping>
it doesn't work, nothing happend !
thanks.