in the code behind file:
using MyProject.MyViewModels;
...
private void UserControl_Drop(object sender, DragEventArgs e)
{
(this.DataContext as UserControlVieModel).OnDrop(sender, e);
}
in the ViewModel:
public void OnDrop(object sender, System.Windows.DragEventArgs e)
{
ExampleText= "dropped";
}
Benefit from the best Windows Desktop app in the world and use Strokey.Net!