Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/286.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# IE9 WebBrowser控件不会像IE9中那样渲染动画_C#_Wpf_Internet Explorer 9_Webbrowser Control - Fatal编程技术网

C# IE9 WebBrowser控件不会像IE9中那样渲染动画

C# IE9 WebBrowser控件不会像IE9中那样渲染动画,c#,wpf,internet-explorer-9,webbrowser-control,C#,Wpf,Internet Explorer 9,Webbrowser Control,我正在尝试将一些使用jQuery UI设置动画的html加载到WPF应用程序中托管的WebBrowser控件中。html在IE9中呈现得非常平滑,但使用WebBrowser控件时有点不稳定(请参见下面的html) 我在HKEY_LOCAL_MACHINE/SOFTWARE/下启用了以下IE功能。。。和HKEY_LOCAL_MACHINE/Wow6432Node/SOFTWARE/ FEATURE_BROWSER_EMULATION (using the value 9999) FEATURE_G

我正在尝试将一些使用jQuery UI设置动画的html加载到WPF应用程序中托管的WebBrowser控件中。html在IE9中呈现得非常平滑,但使用WebBrowser控件时有点不稳定(请参见下面的html)

我在HKEY_LOCAL_MACHINE/SOFTWARE/下启用了以下IE功能。。。和HKEY_LOCAL_MACHINE/Wow6432Node/SOFTWARE/

FEATURE_BROWSER_EMULATION (using the value 9999)
FEATURE_GPU_RENDERING

即使启用了这些功能,我仍然可以缓慢地渲染内容。我还尝试在WPF4.5中查看“新”空域是否有帮助,但没有

有没有人知道是什么原因造成的,或者我能做些什么来解决这个问题

谢谢你的帮助

帕斯卡

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>test</title>
    <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.18/jquery-ui.min.js" type="text/javascript"></script>
    <style type="text/css">
        body{margin: 0;padding: 0;}
div
{

width:960px;
height:360px;
background:blue;
color: white;
} 
    </style>
</head>
<body>
    <div id="slide">
        bla bla bla bla bla bla bla bla bla
    </div>
    <script type="text/javascript">
        $(function () {
            alert(navigator.appVersion); // it is running in IE9 mode
            var options = { to: { right: "0"} };
            $("#slide").show("slide", { direction: "right" }, 2000);
        });
    </script>
</body>
</html>

测试
正文{margin:0;padding:0;}
div
{
宽度:960px;
高度:360px;
背景:蓝色;
颜色:白色;
} 
呜呜呜呜呜呜呜呜呜呜呜呜
$(函数(){
警报(navigator.appVersion);//它正在IE9模式下运行
var options={to:{right:“0”}};
$(“#幻灯片”).show(“幻灯片”{direction:“right”},2000年);
});
Microsoft(WPF团队)已确认此问题,并决定不修复此问题

请参见此处的Microsoft connect票证


另外,请注意,我在win form应用程序中也遇到了同样的问题。

WPF论坛上也有人提出了问题,链接在登录墙后面;然后一旦我最终登录,它是一个页面没有找到。