Silverlight工具包仅为我们提供旋转门过渡而不是旋转门。 (Windows Phone 7主屏幕上的那个,所有的牌都在选定的牌之前翻转。)
我查看了以下链接,他们没有帮助我,所以我正在寻找没有包含在这里的信息的答案:
答案 0 :(得分:1)
新的Windows Phone Toolkit支持TurnstyleFeatherTransition
。 http://phone.codeplex.com/
答案 1 :(得分:0)
这是你如何实现它。
步骤1 =>首先去=> App.xaml.cs并将您的RootFrame更改为Transition Frame。
RootFrame = new TransitionFrame();
步骤2 =>转到要在其上实现TurnstyleFeatherTransition
动画的页面,并添加启用TurnstyleFeatherTransition的动画代码。把它放在RootGrid / Root容器之前
<toolkit:TransitionService.NavigationInTransition>
<toolkit:NavigationInTransition>
<toolkit:NavigationInTransition.Backward>
<toolkit:TurnstileFeatherTransition Mode="BackwardIn"/>
</toolkit:NavigationInTransition.Backward>
<toolkit:NavigationInTransition.Forward>
<toolkit:TurnstileFeatherTransition Mode="ForwardIn"/>
</toolkit:NavigationInTransition.Forward>
</toolkit:NavigationInTransition>
</toolkit:TransitionService.NavigationInTransition>
<toolkit:TransitionService.NavigationOutTransition>
<toolkit:NavigationOutTransition>
<toolkit:NavigationOutTransition.Backward>
<toolkit:TurnstileFeatherTransition Mode="BackwardOut"/>
</toolkit:NavigationOutTransition.Backward>
<toolkit:NavigationOutTransition.Forward>
<toolkit:TurnstileFeatherTransition Mode="ForwardOut"/>
</toolkit:NavigationOutTransition.Forward>
</toolkit:NavigationOutTransition>
</toolkit:TransitionService.NavigationOutTransition>
步骤3 =&gt;给控件赋予羽毛索引。通过添加以下代码。
toolkit:TurnstileFeatherEffect.FeatheringIndex="0"
例如&gt;
<Button toolkit:TurnstileFeatherEffect.FeatheringIndex="0" ></Button>
你很高兴:)