I have the scenario where I have a listbox bound to a collection of viewmodels, from which I want to drag to a gridview, upon dropping they will be converted to a second ViewModel and added to the gridviews collection.
I would like to perform these actions in the overall viewmodel itself... the docs state:
Subscribe to the DropQuery and DropInfo events for gridview. You can do that in two ways. The first way is to subscribe in the XAML:
but im afraid im not familiar/smart enough to know what I need to code to subscribe these events to a method or command on the viewmodels?
In the meantime im coding it up with code behind, but I would really like to move these actions to the viewmodels
any help greatly appreciated
Michael
I would like to perform these actions in the overall viewmodel itself... the docs state:
Subscribe to the DropQuery and DropInfo events for gridview. You can do that in two ways. The first way is to subscribe in the XAML:
but im afraid im not familiar/smart enough to know what I need to code to subscribe these events to a method or command on the viewmodels?
In the meantime im coding it up with code behind, but I would really like to move these actions to the viewmodels
any help greatly appreciated
Michael