title: Xamarin forms MVVM Stacklayout content binding
body: <p>I'm really new to Xamarin and Xamarin forms and I need some help.</p>
  
  <p>I have a StackLayout to which I want to add items dynamically from my ViewModel. Problem is I can't seem to bind the content of the StackLayout to my ViewModel's StackLayout.</p>
  
  <p>this is my xaml code in my view</p>
  
  <pre><code>&lt;StackLayout/&gt;
  </code></pre>
  
  <p>I want something like </p>
  
  <pre><code>&lt;StackLayout Content="{Binding MainStackLayout}"/&gt;
  </code></pre>
  
  <p>I have a StackLayout already setup in my ViewModel like this</p>
  
  <pre><code>public StackLayout MainStackLayout;
  </code></pre>