title: SimpleIoc MVVM resolve view (UserControl)
body: <p>Hope someone can enlighten me on the best mvvm practice using service locator.
  Base principles are clear. I have my views with corresponding view model, everything works at it should.</p>
  
  <p>Lets make a simple example. I have one main window and 2 user controls UCA and UCB. Each of them have view model registered in the locator class.</p>
  
  <p>Using this IoC pattern how can you display UCA and UCB in the main window using one content control and binding through main window view model? To be precise I want to show only one control at the same time. I can't bind the UCA or UCB view model because this is view first approach, the view is not automatically resolved.</p>
  
  <p>What is the correct approach for this?</p>
  
  <p>Thanks</p>