I have to show a web browser inside a scroll viewer in windows phone application, with these requirements :
- Web browser height should be adjusted based on its content.
- Web browser scrolling should be disabled, ( when user scrolls within web browser, scrolling of scroll viewer should take place )
Web browser can do pinch-zoom and navigate to links inside its content.
How can I implement that? Any links or samples is greatly appreciated.
On Mark's direction, I used
I'm using code like this. Attach events to the Border element in the Browser control tree (I'm using Linq to Visual Tree - http://www.scottlogic.co.uk/blog/colin/2010/03/linq-to-visual-tree/).
Further more the implementation I'm using is to prevent pinch and zoom, something you want to have working. Though this should help you in the right direction.