I wanna implement an editor that requires drawing RuleLines(Muted lins?) per line like the ones in the image below.
I'm going to use RichTextBox or AvalonEdit.
Can you help me creating this pattern? Thanks in advance..
I wanna implement an editor that requires drawing RuleLines(Muted lins?) per line like the ones in the image below.
I'm going to use RichTextBox or AvalonEdit.
Can you help me creating this pattern? Thanks in advance..
sodiseng
On
I've done it in AvalonEdit by myself. add RulerLines(just need drawline via DrawingContext) class when VisualLine or TextView Rendering. Image Done
Copyright © 2021 Jogjafile Inc.

In WPF
RichTextBoxyou can set border thickness for theParagraphstyle. It will look like on your screenshot.