Can I use the same ViewModel between WPF and Silverlight

Topics: Prism v4 - Silverlight 4, Prism v4 - WPF 4
Nov 7, 2011 at 6:02 PM
Edited Nov 7, 2011 at 6:04 PM

Hi guys, I'm very new MVVM user, it was very hard to convince guys here to use it, but there is a question that I just can't find the answer.

Can I use the same ViewModel in WPF and Silverlight 4 using Prism or something ?

Developer
Nov 7, 2011 at 8:03 PM

Hi,

You can find information about how to share code between Silverlight and WPF in the following chapter of the Prism documentation:

I hope you find it useful,

Damian Cherubini
http://blogs.southworks.net/dcherubini