title: ListView item height in Windows Store app
body: <p>I have a simple ListView</p>
  
  <pre><code>&lt;ListView ItemsSource="{Binding SelectedSearch.Offers}"
      IsItemClickEnabled="True"
      ItemClick="lv_ItemClick_1"
      Margin="0,0,0,10"
      Name="lv"                          
      SelectionMode="None"
      IsSwipeEnabled="false"
      ItemTemplateSelector="{StaticResource OffersGridTemplateSelector}"/&gt;
  </code></pre>
  
  <p>And I custom ItemTemplate selector used to choose between two different DataTemplates. The problem is, that each items seems to have something like a minimum height. </p>
  
  <p>If I use a DataTemplate with just a TextBlock</p>
  
  <pre><code>    &lt;DataTemplate x:Key="SpecialTextTemplate"&gt;
          &lt;TextBlock Text="{Binding Text}" /&gt;
      &lt;/DataTemplate&gt;
  </code></pre>
  
  <p>the item takes too much space verticaly. It seems to take the same minimum space as the other template composed of 3 textblocks in a stackpanel</p>
  
  <p>How do I make it shrink to the height of the content? Is there a minimum height?</p>