Hi!
I'm trying to implement my own "textbox" like control in C#, WPF.
I want to implement the following features:
1. display the edited text from top to bottom.
Example:
textbox.Text = "This is an example how the text should be displayed.";
would show:
T ahes sd
iamo hbp.
snpwtoel
l eu a
ieetxldy
sx htdie
2. has to be able to display colored text. No pictures, no different fonts, no bold, no italics. It should show the columns with different backgrounds or draw dotted lines between them.
3. Has to show custom text on the margins (top and bottom too). Like line numbers and column numbers.
4. Should have the standard text editor features: copy/paste/undo
Can anybody help me with some advice? Where do should I start from? TextBoxBase? Control? Any tutorials? Any books?
Thank you!