Prism, MVVM. How give data into ViewModel?

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

Hello!

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?

Thanks!

Jun 22, 2011 at 5:37 PM

Hi,

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.

Thanks,

Miguel Bronzovic
http://blogs.southworks.net/mbronzovic

 

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

http://forums.silverlight.net/forums/t/232318.aspx

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

http://blogs.msdn.com/b/dphill/archive/2009/08/17/prism-and-net-ria-services.aspx

please also read the column by david hill

 http://www.dotnetcurry.com/ShowArticle.aspx?ID=371 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