How do I prism 2 videos for Silverlight



Bob and Erwin put together a series of videos that tell how to modular Silverlight Application. For more information see Bobs blog.


 

Creating a solution and adding a module (10 minutes)


Composing views (10 minutes)


 


Implementing a view and using services (22 minutes)

 

Communicating between views (24 minutes)

 

  • http://blogger.forgottenskies.com/ Steve

    Great videos.

    Some items of interest I have:

    1. How do you switch in and out views in a region? ie. if I have a ‘mainContentRegion’ and I have several controls that inhabit that area, how do I initialize and switch views in and out ?

    2. Are there more commands available than just the ‘Click’ command (ie. ComboBox ‘SelectionChanged’) ?

    Thank you!

  • http://blog.developers.ba/ Radenko Zec

    Steve thank you for your comment.I will try to help you.

    1.If you want switch in and out views I think that you can do doing something like this :
    regionManager.Regions["nameOfRegion"].Deactivate(viewYouWantToDeactivate)
    You also have Activate method,Remove method,GetView method and
    ActiveViews and Views collection here.
    2. I don’t know answer to this question.
    I am not working on Prism project.For more information you can post question on Bobs blog http://blogs.msdn.com/bobbrum/