开发者

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

开发者 https://www.devze.com 2023-03-22 19:32 出处:网络
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.

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

精彩评论

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