询问者
怎么实现类似迅雷的特效等级

问题
全部回复
-
能大概描述一下你说的那个特效等级是什么样的效果么
Sheldon _Xiao
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
没仔细看过迅雷的特效等级是什么,根据你的描述,我觉得你可以给每个“等级”做一个单独的ResourceDictionary,然后在程序中使用DynamicResource来引用其中的Storyboard。这样,你可以根据不同的"等级"更换不同的ResourceDictionary。
Min Zhu
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
动画肯定是被冻结的,所以不能动态改变。只能应用新的动画来替代原来的动画。听上去你已经通过变更VisualState解决这个问题了?现在是碰到性能问题了吗?
Min Zhu
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.