开发者

How to determine when animation of Page Transition has ended?

I'm using Windows Phone Toolkit - Feb 2011 (http://silverlight.codeplex.com/开发者_StackOverflow) for Page Transitions.

Code for handling page transitions is in xaml. I want to run some methods after animation is completed.

So my question is: Is it possible to detect when transition animation is completed?


There is an EndTransition event you can hook up to on toolkit:NavigationInTransition

<toolkit:TransitionService.NavigationInTransition>
    <toolkit:NavigationInTransition EndTransition="TransitionComplete">
        <toolkit:NavigationInTransition.Backward>
                    . . .
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜