I am using MVVM to show the database records in a gridview (ListView view). i have a textbox where we can enter the text to be searched in the results listed in the gridview. i tried many ways to highlight the search text (Not the entire row only the text matches in the record) in the records displayed in the list view but unable to highlight. I am using viewmodel as the datacontext for this window. i tried searching on the web and tried using different approaches but unable to highlight the text.
Can anyone have solution for this. Thanks in advance.

kiran k6 reputationPosted May 6, 2010, 6:41 AM EDT
Thanks for your response. I have gone thru the link already. But as i said i dont need the entire cell to be highlighted. Only the portion which matches with the search thing needs to be highlighted. It is like in IE8 or Google chrome we have the search text highlight. any idea about how to achieve the same. Please let me know. Thanks.
Kiran
Lalit MRank #1,186 · 1.5K reputationPosted May 9, 2010, 11:21 PM EDT
Kiran K Here great Sample code in vb.net i think this will help
http://blog.evonet.com.au/post/2008/06/25/Gridview-with-highlighted-search-results.aspx
kiran k6 reputationPosted May 12, 2010, 5:26 AM EDT
The link which you have given displays the exact requirement which i have... but not in ASP.NET... i am using WPF gridview( list view )... please let me know if you have any idea about achieving the same in WPF... Thanks..