title: Automatic text wrapping in listbox
body: <p>I have a DataTemplate for my ListBox and want to wrap a TextBlock, so the message will be displayed in the next line... So I've written this code:</p>
  
  <pre><code>&lt;ListBox x:Name="CareListBox" ItemsSource="{Binding}" Grid.Column="1" Background="Transparent"&gt;
    &lt;ListBox.ItemTemplate&gt;
      &lt;DataTemplate&gt;
        &lt;StackPanel Orientation="Horizontal"&gt;
          &lt;Image Source="pic.png" /&gt;
          &lt;TextBlock Text="{Binding Message}" Style="{StaticResource SubheaderTextStyle}" Margin="25,0,0,0" HorizontalAlignment="Stretch" TextWrapping="Wrap"/&gt;
        &lt;/StackPanel&gt;
      &lt;/DataTemplate&gt;
    &lt;/ListBox.ItemTemplate&gt;
  &lt;/ListBox&gt;
  </code></pre>
  
  <p>What am I doing wrong?</p>