Click here to Skip to main content
14,920,012 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wanted to know if it is possible to highlight text inside a WPF toolkit datagrid. My aim is to mimic the ctrl+f find functionality of internet explorer inside a DataGrid. With each click of find, the next instance of the searched keyword should be highlighted.


This is the best I have seen on the net.
http://blogs.microsoft.co.il/blogs/tomershamam/archive/2009/08/27/wpf-datagrid-search-and-highlight.aspx.


But the cell is being highlighted, What i want to know is that is it possible to highlight only the keyword that is used to search and not the whole cell. Can someone kindly tell me how to approach this problem if it is possible. I have achieved the same effect with a ListView in WPF but i need the cells to be editable too.
Posted
Updated 7-Oct-10 9:14am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900