This question is locked. New answers and comments are not allowed.
Hi,
I want to prevent the user from selecting multiple appointments and drag or resize them, only one at a time is allowed.
I have created a custom DragDropBehavior and overloaded the CanStartDrag and CanStartResize methods.
In CanStartDrag I do this check:
But if I do the same check in CanStartResize, the count is 0.
It seems that resized appointments are not in the DraggedAppointments collection.
Is there any other way I can check this?
Regards,
HÃ¥kan
I want to prevent the user from selecting multiple appointments and drag or resize them, only one at a time is allowed.
I have created a custom DragDropBehavior and overloaded the CanStartDrag and CanStartResize methods.
In CanStartDrag I do this check:
if
(state.DraggedAppointments.Count() > 1)
return
false
;
But if I do the same check in CanStartResize, the count is 0.
It seems that resized appointments are not in the DraggedAppointments collection.
Is there any other way I can check this?
Regards,
HÃ¥kan