简体   繁体   English

仅以编程方式分配功能的简便性

[英]Assigning ease in functions programatically only

For unfortunate technical reasons with the software I use, it is near impossible to add ease in functons to my user control elements. 由于我所使用软件的不幸技术原因,几乎不可能为我的用户控制元素增加功能。

If, for exampe, I have a UserControl (not the ones which come in a Silverlight 3 project), and I want to assign the bouncingeasein function to a specific control only via C#, how can I do this? 例如,如果我有一个UserControl(而不是Silverlight 3项目中的那个),并且我想仅通过C#将bouncingeasein函数分配给特定的控件,该怎么做?

Thanksc 谢谢

创建一个新的BounceEase对象,并将其分配给动画的EasingFunction属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM