Hi Hector,
Thank you for contacting Syncfusion support.
We have checked your requirement of “Unfocus appointment after drag and drop” in UWP. As per Schedule implementation after drop, the appointment remains in draggable state to change the drag position if it is not dropped in the required position. To remove the draggable state, we need to remove focus by tapping any other cell outside the appointment, so which is the behavior of the drag and drop functionality.
If you want to cancel the whole drag and drop function you can achieve it in AppointmentEndDragging event, in which you can set e.Cancel to cancel out the drag and drop action.
Please refer the following code example for the same,
schedule.AppointmentEndDragging += Schedule_AppointmentEndDragging;
private void Schedule_AppointmentEndDragging(object sender, AppointmentEndDraggingEventArgs e)
{
e.Cancel = true;
} |
Please let us know if you have any concern.
Regards,
Karthik Raja A