Which event is being fired and how can I implement this in the ViewModel and View?
Thanks...
1 Answer, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 13 Sep 2024, 08:01 AM
Hello Egbert,
When an appointment is moved, the AppointmentEdited is raised. However, the event will be invoked whnever the appointment is changed - for example, when you resize it or modify it via the edit dialog. You can link the event to a command in the model, using the EventToCommandBehavior.
If you want to listen specifically for appointment moving that happens via drag/drop, you can implement a custom drag/drop behavior and execute a command in the Drop method override. This will allow you to bind the drop (moved) action to a command in your view model.