阅读背景:

来自RichTextBox的c# WPF行和列号。

来源:互联网 

I'm porting an application from WinForms to WPF and I've hit a snag while trying to get the line and column number for where the selection is in the text box. I was able to do it quite simply in WinForms but WPF has a completely different way of implementing a RichTextBox so I have no idea how to go about it.I'm porting an application from WinForms to WPF




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: