Changing complete skin at runtime

Topics: Prism v2 - WPF 3.5
Mar 6, 2010 at 2:03 PM

I am looking to create an application using prism where the shell window can be changed by user to a complete new skin. By new skin I mean a complete new skin not just change of color or simple theme switch. E.g something like windows media player or Cowon Jet Audio. In the new skin some of the views might be missing or new views might be added.


I was wondering what is the best way going about using prism? One way I thought about doing this is

1) To crate the shell window as a Custom

2) Create each view as a custom control.

3) Create a module to notify each module when user switch the skin so modules can re-inject views in new regions of shell Custom control.

4) Each skin will be a collection of styles/templates required by all the views(custom controls).


Is this approach going to work or is there a better way of achieving this?