title: Nested Views for nested ViewModels
body: <p>I am looking for a solution/mvvm framework that supports nesting ViewModels and Views. What I mean is:</p>
  
  <ol>
  <li>Each ViewModel derives from BaseViewModel</li>
  <li>ViewModels have properties that are of type BaseViewModel which are sub-ViewModels (nested inside parent ViewModel)</li>
  <li>Each ViewModel have corresponding View</li>
  <li>Views have ContentControl (control that can display templated view) corresponding to sub-ViewModels of corresponding ViewModel</li>
  <li>Now, when creating instance of ViewModel it is needed to pass appropriate instances of concrete sub-ViewModels. Views should be automatically resolved and nested (<strong>somehow</strong>) base on ViewModels structure.</li>
  </ol>
  
  <p>I do not define <strong>somehow</strong> because there may be a lot of ways to do it.</p>
  
  <p>I hope my idea is clear. This approach allows easy and dynamic creation of ViewModels and Views. Just create tree of ViewModels, for example in XML, and base on this create new functionality.</p>
  
  <p>The questions are:</p>
  
  <ol>
  <li>Is there any mvvm framework (mvvmcross, catel) supporting such approach for Xamarin.Forms?</li>
  <li>How would you store tree of ViewModels - in XML, database tables, ...?</li>
  <li>How would you create instances of ViewModels - deserialization, dependency injection, ...?</li>
  <li>How to create Views and resolve (if framework does not support it)?</li>
  </ol>