title: TextBox not stretching horizontally
body: <p><strong>I am unable to stretch the textbox horizontally fit its container.</strong></p>
  
  <p>NOTE:</p>
  
  <ul>
  <li><p>I do set the HorizontalAlignment property.</p></li>
  <li><p>I also tried binding the width of the textbox to its containers width.</p></li>
  </ul>
  
  <p>Neither worked for me.</p>
  
  <pre><code>    &lt;ListView Grid.Row="1" Grid.Column="0" ItemsSource="{Binding ConsoleLines}" Background="Black" &gt;
          &lt;ListView.ItemTemplate&gt;
              &lt;DataTemplate&gt;
                  &lt;TextBox Text="{Binding ElementName=UserControl, Path=DataContext.Command, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" 
                           TextChanged="OnTextChanged" KeyDown="OnKeyDown" 
                           HorizontalAlignment="Stretch" Padding="5" Background="Black" Foreground="LightGray"  /&gt;
              &lt;/DataTemplate&gt;
          &lt;/ListView.ItemTemplate&gt;
      &lt;/ListView&gt;
  </code></pre>