0

I just try to simulate a resizing event of a webbrowser. It's because some user who are older and are not able to read that good see the conten in a bigger size. Following a simple version of the code:

<Viewbox x:Name="BrowserView" Stretch="None" >
   <phone:WebBrowser Source="www.google.ch" x:Name="Minibrowser" IsScriptEnabled="True" height="644" Width="462"  >

            </phone:WebBrowser>
</Viewbox>
  <Button  Content="Resize" Click="Resize" />

Xaml.Code

And in the underlying code file a method which just resizes the webbrowser:

private void Resize(object sender, RoutedEventArgs e)
{
     Minibrowser.Width = 800;
     Minibrowser.Height = 1400;}

What happens is that the browser is resized. However it's not possible to scroll over the whole content because the webbrowser size is now bigger than the viewbox and screen as well.

Thanks a lot for help and I'm open to listen to other solutions

Soner Gönül
  • 97,193
  • 102
  • 206
  • 364

1 Answers1

0

Have a look at this post about managing the browser-viewport and WP7 WebBrowser control zoom.

Plus, you could also look for "accessibility"...

Community
  • 1
  • 1
casaout
  • 1,819
  • 3
  • 24
  • 54