开发者

How to paint notebook-like lines as TextBox background?

A bit similar to this question.

My aim is to evocate a notebook-lik开发者_JAVA技巧e look of the textbox.

How to paint notebook-like lines as TextBox background?

OneNote does something similar, by setting background image of the editing surface. Of course it is not possible to align the lines in OneNote because the text can be freely formatted.

I would like to do this with constant font (no formatting) in WPF. How to paint lines in textbox background that will match the lines of text?


I asked the same question here: Repeat a background brush in WPF

It would be easy to convert to a TextBox.

Best of luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜