开发者

How to do find and replace for RichTextBox of WPF. I have done it for windows forms RichTextBox

I want to know how to do开发者_开发技巧 find and replace for wpf RichTextBox? I could not get the .Text property of RichTextBox in WPF. please help me.

Thanks Laxman


There is a forum post that shows how this is done here. You'd need to pass the RichTextBox.Document to the manager shown in that sample code.


There are open source projects like

https://github.com/keyoti/RapidFindReplaceWPF

http://www.codeproject.com/Articles/173509/A-Universal-WPF-Find-Replace-Dialog

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜