I have a ScheduleView with DayStartTime set to 09:00, and DayEndTime set to 16:00. I want to allow the user to drag an appointment partially beyond the day boundaries.
If I have an appointment (with a duration of, say two hours) that I drag near the DayEndTime, things work as expected. I can drag&drop it, for example, in the 15:30 slot, and there is an arrow indicating that the appointment extends beyond 16:00. This is the behavior I want.
However, if I drag the appointment near the DayStartTime, the drag cue disappears. At that moment, if I drop the appointment, then I "lose" it . Peeking into the appointment collection, I can see that it has been moved to the first slot of the day, that is, assigned start time 00:00, and end time 02:00.
This happens with the default DragDropBehavior.
If I have an appointment (with a duration of, say two hours) that I drag near the DayEndTime, things work as expected. I can drag&drop it, for example, in the 15:30 slot, and there is an arrow indicating that the appointment extends beyond 16:00. This is the behavior I want.
However, if I drag the appointment near the DayStartTime, the drag cue disappears. At that moment, if I drop the appointment, then I "lose" it . Peeking into the appointment collection, I can see that it has been moved to the first slot of the day, that is, assigned start time 00:00, and end time 02:00.
This happens with the default DragDropBehavior.