Prism, MVVM. How give data into ViewModel?

Topics: Prism v4 - WPF 4
Jun 22, 2011 at 11:29 AM


In one module I have a region (view) and ViewModel. My shell use this region, and I want to give  into ViewModel of my region a data . How do that? StockTraderRI is difficult, how to do it easier?


Jun 22, 2011 at 5:37 PM


In order to check a simple code using MVVM pattern, you could check the following quickstarts provided with Prism:

Additionally, you can read these chapters from Prism MSDN documentation:

Please let me know if this information helps you.


Miguel Bronzovic


Jun 22, 2011 at 7:02 PM

Yes, this information was to help me. Thank you, mbronzovic!

Jun 22, 2011 at 8:08 PM

Please look at the last statement by colin blair on how to do this in silverlight....

Jun 22, 2011 at 8:11 PM

please look at this forum, we discussed this here please read colin blair statements

If you are going to use a wcf ria library you want to limit it your model only

which means your data class and your wcf web service.....   

Jun 22, 2011 at 8:34 PM

please also read the column by david hill also if you planning to use a reource dictionary it is a good idea not to name the resource distionary with that name

you may want to use a wcf silverlight class library so you can use a resource dictionary