title: Stretch empty WPF ListView to take the remaining space
body: <p>I always have problems with a ListView inside a dynamic layout control like a Stackpanel.</p>
  
  <p>Right now I have a Window with a Stackpanel as Root-Control. The Stackpanel streches perfectly and takes the complete window. Inside the StackPanel are some other controls like textboxes and button all aligned fine.</p>
  
  <p>The last Object is a ListView. I want the ListView to take the remaining space from the StackPanel but it does not. Even with <strong>VerticalAlignment="Stretch"</strong> I only get the column headers. The ListView only grows when items are added to it. So I have to set the ListView height manually.</p>
  
  <p>How can I make the ListView fill the remaining space in a StackPanel even when it is empty?</p>