title: How to bind a stacklayout in a viewcell in Xamarin Forms?
body: <p>I like the idea of having a ListView and just bind data and specify a DataTemplate for list item layout. But here is where I dont get it. Say I have:</p>
  
  <pre><code>public class Order
  {
      public int Id {get; set; }
      public string CustomerName { get; set; }
      public List&lt;OrderItem&gt; OrderItems  { get; set; }
  }
  
  public class OrderItem
  {
      public string ItemName { get; set; }
  }
  </code></pre>
  
  <p>So far so good. Now I want to populate a list in ListView which looks as follows:</p>
  
  <blockquote>
    <p>(Orderid) </p>
    
    <blockquote>
      <p>ItemName, ItemName</p>
    </blockquote>
    
    <p>(Orderid)</p>
    
    <blockquote>
      <p>ItemName, ItemName, ItemName</p>
    </blockquote>
  </blockquote>
  
  <p>and so on. </p>
  
  <p>Edit: I dont want to list the Order Id but I want to be able to fetch it on a click event in the list.</p>
  
  <p>I cant find anywhere If I can bind a collection in a ViewCell. How should I go about this? Is there a way to have nested ViewCells in this matter?</p>
  
  <p>/Mike</p>