title: How to TextWrap a TextBlock within a width Auto Column?
body: <p>Consider something as follows:</p>
  
  <pre><code>&lt;Grid&gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width="*"/&gt;
          &lt;ColumnDefinition Width="Auto"/&gt;
      &lt;/Grid.ColumnDefinitions&gt;
      &lt;TextBlock x:Name="WrapTextBlock" Grid.Column="0" Text="123 456 789 0123 4456 123  123  123  123 1 23  123 " TextWrapping="Wrap" /&gt;
      &lt;TextBlock x:Name="NotWrapTextBlock" Grid.Column="1" Text="GGG" /&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>This XAML will allow <code>WrapTextBlock</code> text to be wrap, doing this, <code>WrapTextBlock</code> will take all the space and push <code>NotWrapTextBlock</code> to the right.</p>
  
  <p>But what I want to do is to have <code>WrapTextBlock</code> take as less space as possible, pushing <code>NotWrapTextBlock</code> right after <code>WrapTextBlock</code> and fill the right side with empty space.</p>
  
  <p>Which means the following:</p>
  
  <pre><code>&lt;Grid&gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width="Auto"/&gt;
          &lt;ColumnDefinition Width="Auto"/&gt;
          &lt;ColumnDefinition Width="*"/&gt;
      &lt;/Grid.ColumnDefinitions&gt;
      &lt;TextBlock x:Name="WrapTextBlock" Grid.Column="0" Text="123 456 789 0123 4456 123  123  123  123 1 23  123 " TextWrapping="Wrap" /&gt;
      &lt;TextBlock x:Name="NotWrapTextBlock" Grid.Column="1" Text="GGG" /&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>But the thing here is, now the text in <code>WrapTextBlock</code> wouldn't wrap anymore.</p>
  
  <p>I mean something like follows:</p>
  
  <p>When text is too long it requires to warp:</p>
  
  <p><a href="https://i.stack.imgur.com/f5JvA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f5JvA.png" alt=""></a></p>
  
  <p>When text is short enough that doesn't requires to warp:</p>
  
  <p><a href="https://i.stack.imgur.com/8gCM4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8gCM4.png" alt=""></a></p>