开发者

Way to implementing Search functinality on a Window

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

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:

Way to implementing Search functinality on a Window


You should try using ICollectionView for filtering. Here is an example.

0

精彩评论

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

关注公众号