title: TextBlock TextWrapping not wrapping inside StackPanel
body: <p>I have a StackPanel, but the following line :</p>
  
  <pre><code>&lt;TextBlock Grid.Row="1" Grid.Column="0" Text="{Binding Notes}" TextWrapping="Wrap"  /&gt;
  </code></pre>
  
  <p>is not Wrapping the Text.</p>
  
  <pre><code>&lt;StackPanel Orientation="Vertical"&gt;
      &lt;Grid&gt;
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Width="auto" /&gt;
              &lt;ColumnDefinition Width="auto" /&gt;
              &lt;ColumnDefinition Width="auto" /&gt;
              &lt;ColumnDefinition Width="*" /&gt;
              &lt;ColumnDefinition Width="auto" /&gt;
              &lt;ColumnDefinition Width="5" /&gt;
              &lt;ColumnDefinition Width="15" /&gt;
          &lt;/Grid.ColumnDefinitions&gt;
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition /&gt;
              &lt;RowDefinition /&gt;
          &lt;/Grid.RowDefinitions&gt;
  
          &lt;DockPanel Grid.Row="0" Grid.Column="0"&gt;
              &lt;TextBlock FontWeight="Bold" Padding="0,0,5,0" Text="{Binding Path=Id, StringFormat='#\{0\}'}" /&gt;
              &lt;TextBlock FontWeight="Bold" Padding="0,0,5,0" Text="{Binding Path=Name}" /&gt;
          &lt;/DockPanel&gt;
          &lt;TextBlock Grid.Row="0" Grid.Column="4" FontWeight="Bold" Text="{Binding Path=Time, StringFormat={}{0:HH:mm}}" /&gt;
          &lt;Image
              Grid.Row="0"
              Grid.Column="6"
              HorizontalAlignment="Center"
              VerticalAlignment="Center"
              Source="{Binding Path=Image, Mode=OneWay, Converter={StaticResource ImageConverter}}" /&gt;
  
          &lt;TextBlock Grid.Row="1" Grid.Column="0" Text="{Binding Notes}" TextWrapping="Wrap" /&gt;
  
          &lt;Image
              Grid.Row="1"
              Grid.Column="4"
              HorizontalAlignment="Center"
              VerticalAlignment="Top"
              Source="{Binding Path=Picture, Mode=OneWay, Converter={StaticResource PictureConverter}}" /&gt;
      &lt;/Grid&gt;
  &lt;/StackPanel&gt;
  </code></pre>
  
  <p>The <code>StackPanel</code> Orientation is set to 'Vertical' but the <code>TextBlock</code> is not inheriting it.</p>
  
  <p>Where am I going wrong?</p>