Show LineNumbers from the RichTextBox in WPF
问题 I found an example, how to show the LineNumbers from a RichTextBox in Windows Forms. http://www.codeproject.com/Articles/38858/Line-Numbers-for-RichText-Control-in-C Have somebody an example for it in WPF ? Edit: Does someone have work with AvalonEdit, because he wanted to show LineNumbers in his Programm and can help me by my Problem. 回答1: I thought just to add a simple solution... Avalon (Download) has been mentioned, here is how to do row lines with it: <avalon:TextEditor ShowLineNumbers=