Regions in Prism
Ever used master pages in ASP.Net? Prism supports this kind of notion as well. This show: Regions in Prism. This show was taped on location in Microsoft building 5 with Patterns & Practices team members Bob Brumfield and David Hill. Also joining us was Shawn Wildermuth.
We talk about:
- Benefits of Regions
- Regions as placeholders
- Regions are named areas
- Layout strategies with Regions
- Selecting the Region types
See out companion hyper-video on how to do Prism Regions. In addition, we have a previous hyper-video all about Silverlight Prism and how to create a new Prism project.
————————-
Music kindly provided by YACHT
If you’re interested in Silverlight 2 or Silverlight 3, see our company where we do Silverlight Consulting and Silverlight Development.
Follow us on twitter
Podcast: Download
You can leave a response, or trackback from your own site.
Can you comment on how prism regions and SL3 Navigation relate? Would they go well together, and if so, how/where/why? What are the good and bad points about using them together?
That’s an interesting question. They’re both mechanisms for showing sub-views. They can be used independently, and they can be used together. It would seem to me that while you wouldn’t use the Navigation inside of a Prism region (url routing might get weird), there’s nothing to stop you from doing the reverse. In fact, it might even be a good idea for developing composite apps.
Another option, I guess, would be writing a Region Adapter for adapting Views to the Navigation framework. That would be an interesting approach. Hmmm…