title: WPF Making the ListView Height the same as the Grid row height
body: <p>I want to data bind the height of a row in a grid to the height of my ListView. Sadly I can't make the DataBinding work. The ListView is inside the Grid. Any help is very welcome :)</p>
  
  <p>Those are some snippets of my xaml code:</p>
  
  <pre><code>&lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition Height="Auto"/&gt;
          &lt;RowDefinition Height="Auto" Name="rowDefenitionOne"/&gt;
  &lt;/Grid.RowDefinitions&gt;
  
  &lt;ListView ItemsSource="{Binding Data}" Height="{Binding ActualHeight, 
  ElementName=rowDefenitionOne}" Grid.Row="1" Grid.Column="0" 
  Grid.ColumnSpan="2" Grid.RowSpan="2"&gt;
  ....
  &lt;/ListView&gt;
  </code></pre>