Hi Stanescu,
I am afraid that you cannot trigger the Drop event in the ViewModel of the ScheduleView, but you can get the ViewModel in the event handler. There are two ways:
- using the following method:
and then scheduleView.DataContext;
- create a property for the ViewModel at your custom behavior and set it once the page is initialized.
Hope this helps.
All the best,
Yana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>