1
错误:“属性背景的属性值无效。”C#WP7按钮按下状态抛出:“属性Background的属性值无效。”
XAML:
<VisualState x:Name="Pressed">
<Storyboard>
....
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ButtonBackground" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="/Images/home_2_click.png" />
</ObjectAnimationUsingKeyFrames>
....
</Storyboard>
</VisualState>
看到这个问题http://stackoverflow.com/questions/9971506/why-isnt-my-windows-phone-silverlight-rotation-animation-working/9972220#9972220它也许类似 –
罗马嗨,答案下面帮助我,但你的带领我一些很酷的动画相关的问题:)对未来的参考。 –