title: Silverlight How to load a usercontrol in a page based upon a listbox selection
body: <p>I am trying to work though the best approach to accomplish the following. Within a page I have it divided into two section. On the left a listbox and the right is empty. (Grid etc). What I would like to accomplish is when an item is selected from the listbox a different user control loads in the right panel.  For example if I have three items (one, two three) selecting one would load a red user control, two would load a blue user control and three a green user control.</p>
  
  <p>I was taking this approach since Content Template / Data template selectors are not available in SL. However if anyone has another suggestion I would be grateful for your thoughts. </p>
  
  <p>I'm creating this with MVVM in mind and traditionally I have managed this within the code behind of the user control however I have seen mention of how this could be managed within the ViewModel as well. </p>
  
  <p>Any suggestions or guidance on a best approach is always appreciated.</p>
  
  <p>Cheers</p>