tags:

views:

31

answers:

1

I have written a small implementation to filter a listbox based on keyboard input. For an example if the listbox has values "Peter", "Ann" and "Andrew", typing character "A" will filter the list down to "Ann" and "Andrew". I have used the ICollectionView.Filter approach for filtering. However, now I need to highlight the matching characters within each item in the listbox. Is there a way of achieving this?

Thanks,

  • D
A: 

just see this link may be this can help you

http://stackoverflow.com/questions/2894912/how-to-highlight-matching-sub-strings-inside-a-listbox

Kishore Kumar