title: WPF: How to make empty TextBlock not to occupy space?
body: <p>Let's say that I have a simple layout such as this:</p>
  
  <pre><code>&lt;StackPanel&gt;
    &lt;TextBlock Text="{Binding Path=Title}" /&gt;
    &lt;TextBlock Text="{Binding Path=ShortDescription}" /&gt;
    &lt;TextBlock Text="{Binding Path=LongDescription}" /&gt;
  &lt;/StackPanel&gt;
  </code></pre>
  
  <p>Now when I have ShortDescription set to null or empty string there's still a gap in place of second TextBlock. Is there some property to prevent an empty textblock from occupying space? Or should I use some other control?</p>
  
  <p>Thanks.</p>