We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to do a DragAndDrop of ListView items into SfSchedule Control with a custom entity

Thread ID:





129998 Apr 13,2017 02:09 PM UTC Apr 17,2017 09:10 AM UTC UWP 1
Tags: SfSchedule
Asked On April 13, 2017 02:09 PM UTC

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{ getset; }
  public DateTime Start { getset; }
  public DateTime End { getset; }
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:ScheduleAppointmentMapping SubjectMapping="Title"
                                          EndTimeMapping="End" />
it doesn't work, nothing happend !


Subburaj Pandian Veluchamy [Syncfusion]
Replied On April 17, 2017 09:10 AM UTC

Hi David, 
Thank you for your interest in Syncfusion products. 
Based on the provided information we have checked your requirement with Drag and drop of ListView items into Schedule in UWP. We have checked the mentioned Knowledge Base (KB) with WinRT, for this requirement in UWP “DragEnter” event needs to be trigger for Dragging the item from the list. We have prepared simple based in your requirement, please refer the sample by the below link. 
If the given solution doesn’t meet your requirement, could you please revert to us by modifying the provided sample based on your requirement with more information about your query, it will be helpful for us to check on it and provide you the better solution.  
Subburaj Pandian V.    


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon