为什么状态转换故事板强制“坚持”?缓动列表框?
我正在尝试使用混合中的视觉状态管理器来动画状态转换。对于简单的状态转换,我没有多控制、多键故事板,似乎可以工作。当我尝试实现一个复杂的故事板作为状态转换的一部分时,我遇到了麻烦。
我有一个列表框,我正在尝试在画布上设置运动动画。当我使用 Blend 设计器移动它时,它会注册动画,但移动的缓动设置为“保持”,我无法更改它。这似乎正在制作一个 DiscreteObjectKeyFrame 动画,虽然我相信我想要一个双动画,但我不确定如何使混合做到我想要的。动画不透明度似乎按预期工作。
如何使用线性缓动动画列表框在画布上的位置?
I am trying to use the Visual State Manager in blend to animate a state transition. For simple state transitions where I do not have a multi-control, multi-key storyboard things seem to work. When I try to implement a complex storyboard as part of a state transition I am having trouble.
I have a listbox that I am trying to animate movement on a canvas. When I move it using the Blend designer it registers the animation, but the easing for the move is set to "Hold In" and I can not change it. This seems to be making a DiscreteObjectKeyFrame animation, while I believe I want a double animation, but I'm not sure how to make blend do what I want here. Animating opacity seems to work as expected.
How do I animate the listbox's position on the canvas with a linear easing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是由于尝试对仅支持离散帧动画的属性进行动画处理而导致的。要使其正常工作,您必须使用动画的自定义路径或选择支持平滑动画的另一个属性(最好是 double 类型)。
This was caused by trying to animate a property that only supports discrete frame animation. To get this to work, you have to use a custom path for the animation or pick another property (preferably of type double) that supports smooth animation.