This WPF application/usercontrol needs to show a link of a webpage (say on a button), then on mouseover, show a thumbnail (150X150) of the real-time webpage like a tooltip?
Here are some thing that come to mind.
- In the ToolTip.Content embed a tiny webbrowser control and have it load the link - Personally I don't like this idea of using a webbrowser control
- During the window load, from the link, get webpage snapshot as a tiny image, then show them - Not straight forward, but I still think it might be doable.
However, both the above solutions do not look like a real WPF solution to the problem, none of them make use of WPF libraries/controls/features.
Anyone tried this? any suggestions?
Update: @smartyp over at Twitter responded saying.. "load a webbrowser control, on final complete render it to a bitmap via RenterTargetBitmap", Thanks @smartyp.
I still think there might be a better way to do this without the webbrowser control?