tags:

views:

49

answers:

2

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
+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
Could you explain the basic structure of the app? I don't really understand the workings of that
jiewmeng