使用 Toolkit 时 Windows Phone 7 页面转换速度非常慢 [英] Windows Phone 7 Page Transitions very slow using Toolkit

查看:27
本文介绍了使用 Toolkit 时 Windows Phone 7 页面转换速度非常慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到的问题是,每当我使用 Windows Phone 7 Toolkit 中的页面转换时,转换都非常缓慢,整个应用程序似乎都有框架丢失.动画口吃".

I have the problem that whenever I use the Page Transitions from Windows Phone 7 Toolkit, the transitions are very slow and the whole app seems to have framed drops. The animations are "stuttering".

有其他人遇到过这种情况吗?我使用 TransitionFrame 类作为 RootFrame 并在 .xaml 页面中使用类似

Is anyone else experiencing this? I'm using the TransitionFrame class as RootFrame and in the .xaml pages I'm using code like

<toolkit:TransitionService.NavigationInTransition>
        <toolkit:NavigationInTransition>
            <toolkit:NavigationInTransition.Backward>
                <toolkit:TurnstileTransition Mode="BackwardIn"/>
            </toolkit:NavigationInTransition.Backward>
            <toolkit:NavigationInTransition.Forward>
                <toolkit:SlideTransition Mode="SlideDownFadeOut" />
            </toolkit:NavigationInTransition.Forward>
        </toolkit:NavigationInTransition>
    </toolkit:TransitionService.NavigationInTransition>

推荐答案

我建议不要使用 WP7 Toolkit 页面过渡动画.

I'd recommend against using the WP7 Toolkit Page Transition animations.

如果您激活性能计数器,您可以看到,只需将根框架更改为 WP7 框架,您的填充率就会增加 1.因为即使在最好的应用程序中,填充率也是 1.5+,建议的最大值为 2.5,我会说这很糟糕.

If you activate the performance counters you can see that just by changing the root frame to the WP7 frame, your fill rate is increased by 1. Since fill rates even in the best of apps are 1.5+ and the recommended maximum is 2.5, I'd say that's very bad.

Telerik 有一个 WP7 页面转换控件,您可能想要查看.但老实说,我找不到/编码任何通用页面转换,可以提供性能良好的页面翻转效果.

Telerik has a WP7 Page transition control you might want to checkout. But honestly, I couldn't find/code any generic page transition that gives a well-performing page flip effect.

这篇关于使用 Toolkit 时 Windows Phone 7 页面转换速度非常慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆