Way to implementing Search functinality on a Window
I am working on a (WPF + C#) application. I have to implement search function开发者_运维知识库ality. It will allow to search all the occurrences of a particular string on the specific part of Window. What can be the best way to do this?
Viky,
I hope I got you properly. You can take a look on what Kent Boogaart has: Search and Highlight Text in an Arbitrary Visual Tree:
You should try using ICollectionView for filtering. Here is an example.
精彩评论