title: Listbox item that stretches to width of listbox BUT not past the width
body: <p>I have a listbox that I want to take up the width of my window, and the list box items will stretch to the size of the listbox.</p>
  
  <p>Each listbox item will be a datatemplate that has about 150 width for information and the remaining size to be a textbox for a description. I want the description texbox to stretch to remaining available size. So here is example xaml that I thought would create this layout:</p>
  
  <pre><code>&lt;Window x:Class="test.MainWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      Title="MainWindow" Height="350" Width="525"&gt;
  &lt;Grid&gt;
    &lt;ListBox Margin="20,20,20,20" ItemsSource="{Binding Path=List}"&gt;
       &lt;ListBox.ItemContainerStyle&gt;
          &lt;Style TargetType="ListBoxItem"&gt;
             &lt;Setter Property="HorizontalContentAlignment"
                     Value="Stretch" /&gt;
          &lt;/Style&gt;
       &lt;/ListBox.ItemContainerStyle&gt;
       &lt;ListBox.ItemTemplate&gt;
          &lt;DataTemplate&gt;
             &lt;Border BorderBrush="AliceBlue"
                     BorderThickness="1"&gt;
                &lt;Grid&gt;
                &lt;Grid.ColumnDefinitions&gt;
                   &lt;ColumnDefinition Width="150" /&gt;
                   &lt;ColumnDefinition Width="*" /&gt;
                &lt;/Grid.ColumnDefinitions&gt;
                   &lt;Label Width="20"
                          Content="Test" /&gt;
                   &lt;ComboBox Width="130" /&gt;
                   &lt;TextBox Grid.Column="1"
                            HorizontalAlignment="Stretch"
                            HorizontalContentAlignment="Stretch" /&gt;
                &lt;/Grid&gt;
             &lt;/Border&gt;
          &lt;/DataTemplate&gt;
       &lt;/ListBox.ItemTemplate&gt;
    &lt;/ListBox&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>However, when I type in the textbox and the text width goes past the width of the listbox, the listbox item keeps growing and the horizontal scroll bar shows up. </p>
  
  <p>What I want to achieve is the max width of the textbox to go just up to the listbox and not grow wider. Anyone know how I can achieve this layout?</p>