为Metro XAML元素的Visibility属性设置动画 [英] Animate the Visibility property of a Metro XAML element
本文介绍了为Metro XAML元素的Visibility属性设置动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的C#metro应用程序基本上是用户提交的表单,我根据用户选择隐藏/显示某些字段。
My C# metro app is basically a form that the user submits and I hide/show certain fields based on selections the user makes.
有没有办法为隐藏或显示的字段设置动画? (例如淡入/淡出)
Is there a way to animate the fields that get hidden or shown? (E.g. fade in/out)
推荐答案
绝对!看看FadeIn和FadeOut 主题动画
如果需要更精细的控制,您还可以为元素的不透明度值设置动画。
You can also animate the elements' Opacity values if you need finer control.
这两种技术都在
快速入门:动画制作您的用户界面文档。
- Rob
这篇关于为Metro XAML元素的Visibility属性设置动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文