本文介绍了ScatterViewItem和WebBrowser的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello 

Hello 

我试图将Web浏览器控件插入ScatterViewItem(旋转,调整大小等),但是当我按F5时结果不是已经过了,

Im trying to insert a Webbrowser control into ScatterViewItem (to rotate, resize etc), but when i press F5 the result is not the expeceted,

WebBrowser不会轮换:

the WebBrowser doesn´t rotate:

这里是代码 

here is the code 

<s:ScatterView Width="1440" Height="900">
        <s:ScatterViewItem Name="contenedor" Padding="10" Width="800" Height="600">
                <WebBrowser Name="navegador" Initialized="navegador_Initialized"/>
        </s:ScatterViewItem>
    </s:ScatterView>

当初始化WebBrowser时代码为

and when the WebBrowser is initialized the code is

private void navegador_Initialized(object sender, EventArgs e)
        {  
            navegador.Navigate(new Uri("http://www.mercadolibre.com.co"));
        }

我已经安装了visual C#express和windows 7(x64)

i have installed visual C# express and windows 7 (x64)

谢谢

推荐答案


检查:  http://social.msdn.microsoft.com/Forums/en/surfaceappdevelopment/thread/bf985327-ad47-43c3-9256-2b9c5d8ce02e


and this:&absp; http://social.msdn.microsoft.com/Forums/eu/surfaceappdevelopment/thread/20f413ea-4554-46f3-a0c0-2227f7ef1850

如果有帮助,请标记为答案。

And please mark as answer if it helps.


这篇关于ScatterViewItem和WebBrowser的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 23:19