title: WPF ListView's height
body: <p>I have a <code>Grid</code> that contains <code>ListView</code>:</p>
  
  <pre><code>&lt;Grid &gt;
   &lt;Grid.RowDefinitions&gt;
    &lt;RowDefinition /&gt;
      ...
    &lt;/Grid.RowDefinitions&gt;
    &lt;ListView Grid.Row="0"&gt;
     &lt;ListViewItem &gt;
      ...
     &lt;/ListViewItem&gt;
  
     ...
  
   &lt;/ListView&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>And <code>ListView</code> gets taller then all its items, it takes all available space.</p>
  
  <p>How to make <code>ListView</code> exactly as tall as all the <code>ListViewItems</code> it contains (i.e. make it's height to be equal to sum of their heights)?</p>