WP7 C#Storyboard动画问题 [英] WP7 C# Problem with Storyboard animation

查看:164
本文介绍了WP7 C#Storyboard动画问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,¥b $ b我有以下问题:

我有一个网格和三个按钮。 button1,button2和button3。

我有两个故事板。名为Show和Storyboard2的Storyboard1隐藏了名称。

Storyboard2具有Storyboard1的反向功能。

当我点击button1运行Storyboard1时。当我点击button2到Storyboard2运行时。

问题是,当我点击button1时,Storyboard1会运行,但是当我点击任何按钮时,Storyboard1的反向运行。

我想要冻结故事板,只能通过按钮来执行。

请帮助我,请...我是WP7的新手。



注意:我使用Blend创建动画并且它在X轴上。



Att, 


Alesson

解决方案

确保自动播放被禁用Ref:http:/ /msdn.microsoft.com/en-us/library/cc294558.aspx 

Hello,
I have the following problem:
I have a Grid and Three buttons. The button1, button2 and button3.
I have two Storyboards. The Storyboard1 named Show and Storyboard2 hide with the name.
The Storyboard2 have the reverse function of Storyboard1.
When I click the button1 runs Storyboard1. And when I click button2 to Storyboard2 runs.
The problem is this, when I click the button1, the Storyboard1 runs, but when I click any button, the reverse of Storyboard1 runs.
I wanted to freeze the Storyboards, only to be performed by the buttons.
Help me, please ... 'm New to WP7.

Note: I used Blend to create the animation and it is on the X axis.

Att, 

Alesson

解决方案

Make sure the autoplay is disabled Ref : http://msdn.microsoft.com/en-us/library/cc294558.aspx 


这篇关于WP7 C#Storyboard动画问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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