title: Can I color different parts of text in a WPF TextBox?
body: <p>I've got a WPF TextBox into which my users type XHTML.</p>
  
  <p>XAML...</p>
  
  <pre><code>&lt;TextBox Name="TextBoxContentBody"
           TextWrapping="Wrap"
           AcceptsReturn="True"
           VerticalScrollBarVisibility="Visible"
           FontFamily="Consolas"
           ... /&gt;
  </code></pre>
  
  <p>It looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/uc4Wv.gif" alt="enter image description here"></p>
  
  <p>I'd rather that it looked like this (Photoshopped mock-up):</p>
  
  <p><img src="https://i.stack.imgur.com/ftHIC.gif" alt="enter image description here"></p>
  
  <p>How might I accomplish this?</p>