title: Show LineNumbers from the RichTextBox in WPF
body: <p>I found an example, how to show the LineNumbers from a <code>RichTextBox</code> in Windows Forms.
  <a href="http://www.codeproject.com/Articles/38858/Line-Numbers-for-RichText-Control-in-C" rel="noreferrer">http://www.codeproject.com/Articles/38858/Line-Numbers-for-RichText-Control-in-C</a></p>
  
  <p>Have somebody an example for it in <strong>WPF</strong>?</p>
  
  <p>Edit:</p>
  
  <p>Does someone have work with AvalonEdit, because he wanted to show LineNumbers in his Programm and can help me by my Problem.</p>