开发者

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:

Way to implementing Search functinality on a Window


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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜