Search and Highlight search text in items in the Listview in WPF

Posted by kiran-k on Stack Overflow See other posts from Stack Overflow or by kiran-k
Published on 2010-05-05T14:56:06Z Indexed on 2010/05/05 14:58 UTC
Read the original article Hit count: 359

Filed under:
|
|

Hi,

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 able to find the starting and ending indexes. i tried to created rectangles using those indexes on the text block but unable to highlight.

Can anyone have solution for this. Thanks in advance.

© Stack Overflow or respective owner

Related posts about wpf-controls

Related posts about wpf