I can expose ICommands from my ViewModels but where does Non-Click/Command behaviour fit into a MVVM Application? eg. Drag & Drop, Hover etc
+1
A:
I would place them in the code-behind because this is UI behaviour, I don't know if it's "right" but I think you shouldn't overcomplicate such easy things.
Jottiza
2010-10-05 08:35:29
+1
A:
Have a look at this post:
http://blogs.imeta.co.uk/jyoung/archive/2009/07/21/728.aspx
Shows how you can still use the MVVM pattern effectively for "Non-Click / Command" behaviour such as drag / drop.
Vixen
2010-10-05 08:52:59
Could you explain the basic structure of the app? I don't really understand the workings of that
jiewmeng
2010-10-05 11:32:23