title: Wrap text nicely in horizontal stackpanel or wrappanel?
body: <p>I've seen a few other posts about this but haven't seen anything that solves my problem. Basically, I need to have some text (bold and unbold) wrap within a <code>Stackpanel</code> or <code>Wrappanel</code> nicely. Here is a visual:</p>
  
  <p><img src="https://i.stack.imgur.com/6D0A3.png" alt="enter image description here"></p>
  
  <p>I need a combination of the two <code>TextBlocks</code> that you see. I've got the first bold <code>TextBlock</code> which contains "Title: " and then on the same line I need the next <code>TextBlock</code> which may or may not wrap. If it does wrap, I need the top line to stay on the top line and then wrap, as if it were all one <code>TextBlock</code>. Here's a made-in-Paint visual of what I need:</p>
  
  <p><img src="https://i.stack.imgur.com/ceHvA.png" alt="enter image description here"></p>
  
  <p>Here's my code that I've got so far:</p>
  
  <pre><code>&lt;toolkit:WrapPanel Orientation="Horizontal"&gt;
     &lt;TextBlock Text="Title: " FontWeight="Bold"/&gt;
     &lt;TextBlock TextWrapping="Wrap" Text="More text goes here " /&gt;
  &lt;/toolkit:WrapPanel&gt;
  
  &lt;toolkit:WrapPanel Orientation="Horizontal"&gt;
     &lt;TextBlock Text="Title: " FontWeight="Bold"/&gt;
     &lt;TextBlock TextWrapping="Wrap" Text="More text goes here and I want it to wrap lines and go underneath the title but I can't get it to to do that. :( " /&gt;
  &lt;/toolkit:WrapPanel&gt;
  </code></pre>
  
  <p>Now, I'm <strong>not</strong> opposed to this being done in <strong>one</strong> <code>TextBlock</code> either (if possible). I know that with <code>TextBlock.Inlines</code> I can add a <code>Run</code> of bold text and then another of regular text. The problem with that is <code>Inlines</code> <a href="https://stackoverflow.com/questions/1959856/data-binding-the-textblock-inlines">cannot be bound</a> using MVVM (which I'm not using in this demonstration, but will be using in the final code). </p>
  
  <p>So whatever the solution is, I need to be able to set the values of the <code>TextBlock</code>s from the code-behind so that I know it can be done with MVVM.</p>
  
  <p>Does anyone know of a way to achieve this?</p>