title: WPF - How to stop TextBox from autosizing?
body: <p>I have a textbox in my visual tree as follows.. </p>
  
  <p><ul>
  <li><code>Window</code>
  <ul>
  <li><code>Grid</code>
  <ul>
  <li><code>ListBox</code>
  <ul>
  <li><code>ItemTemplate</code>
  <ul>
  <li><code>DataTemplate</code>
  <ul>
  <li><code>Grid</code>
  <ul>
  <li><code>Grid</code>
  <ul>
  <li><code>Textbox</code>... </li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>
  The textbox is defined as.. </p>
  
  <pre><code>&lt;TextBox Height="Auto" 
           Text="{Binding Path=LyricsForDisplay}" 
           MinHeight="50" 
           MaxHeight="400"  
           Visibility="Visible" 
           VerticalScrollBarVisibility="Auto" 
           IsReadOnly="True" 
           AllowDrop="False" 
           TextWrapping="WrapWithOverflow"&gt;
  &lt;/TextBox&gt;
  </code></pre>
  
  <p>When long text is added to the bound variable (LyricsForDisplay) all of the items in the listbox expand their textboxes/grids width's to allow for the entire string to be seen if you use the scrollbar on bottom that appears... </p>
  
  <p>What I would like to do is make it so the boxes/grids only resize if the user stretches the window .. NOT when a long text is entered (it could just wrap around..) </p>
  
  <p>Does anyone know how to obtain the functionality? </p>