Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Displaying search results having strings and URLs in WPF application

$
0
0

I am building a WPF application to search items. In the hundreds of search results, every result is of 2 or 3 elements which would be string and URL for that item. I have displayed the results obtained in a data grid view. But I want the URL obtained to redirect to that particular site which as of now is just a plain result.

Since one search result may/ may not have 2-3 search elements, how to display the result and show the URL as a hyperlink?

Can i combine one search result (i.e. 2-3 search elements of a result)  and move it in a text block and thus adding text blocks dynamically in the data grid view? If yes, then how is it possible and how can the hyperlink be defined then?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>