title: How to get item's height after is has been created?
body: <p>I want to fill a <code>ListView</code> with items as long as they fit on the current page sothat I do not have to scroll. For this I want to add an item, check it's height and if it is too big to fit in the remaining space I want to remove it.</p>
  
  <p>My questions are: </p>
  
  <ol>
  <li>Is there a smarter way to solve this?</li>
  <li>When to check the realized items height?</li>
  </ol>
  
  <p>In Windows 8.1 the <code>ListView</code> control does not have an <code>ItemRealized</code> or <code>ItemCreated</code> event. So when to check the item's container size?</p>
  
  <p>I try to get the size via</p>
  
  <pre><code>UIElement container = (UIElement)ItemsListView.ContainerFromItem(obj);
  double height = container.DesiredSize.Height;
  </code></pre>
  
  <p>Thanks for your help!</p>