Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我想创建一个改变控制边距的动画,并且我需要编写 C# 代码而不是使用混合,该怎么做?
为什么要更改边距?你关注什么样的动画?但是,您可以使用DoubleAnimation和StoryBoard来创建您的动画。请参考下面的链接开始。
DoubleAnimation
StoryBoard
http://windowsphonegeek.com/articles/WP7-Animations-in-depthndash-Overview-and-Getting-Started