This is basically implementing search/find in a WPF window or User control. Let's say you have a WPF window with dynamic readonly text some on textblock, some in a listbox, some in treeview, some in textblocks etc.
The user should be able to type in a search term in a textbox on the top and be able to see it highlighted wherever and in whichever control the text appears in the window. And no, this page has nothing to do with FlowDocuments and such, so can't use out of the box FlowDocumentReader.
Call it 'control text search' and highlight the search term like Google chrome browser does for a webpage.
The following SO threads might be helpful, but not sure if I can achieve the above (I am trying to put something together)
- http://stackoverflow.com/questions/974598/find-all-controls-in-wpf-window-by-type
- http://stackoverflow.com/questions/798579/wpf-listbox-highlight-part-of-listboxitem-element
There there is this article, which is also helpful but works with Documents and not controls