I want to be able to have some text clickable like in webpages in WPF. The control should have both non-functional text (for display) both also some of its parts as completely clickable.
Say like Wikipedia.
But this is an independent standalone offline app.
I tried various things but I couldn’t do it, especially the clicking doesn’t function like web pages, i.e. 1 click to open the url contained within the tools.
If you don’t have a requirement that it be a full-blown FlowDocument, then you can just use a plain old WPF TextBlock, and put Hyperlinks in it.
If you need scrolling, just put a ScrollViewer around it.
If you need the paginated, multi-column viewer, then you’ll need to go with an all-out FlowDocument, but if all you want is text with hyperlinks, TextBlock + Hyperlink should be all you need.