WPF中的动画扩展器 [英] Animate Expander in WPF

查看:75
本文介绍了WPF中的动画扩展器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为Wpf扩展器控件的扩展和折叠动作设置动画?

How to animate the expanded and collapsed actions of a Wpf expander control?

推荐答案

我在代码上找到了这篇文章项目:在此处阅读

I've found this article on Code Project : Read Here

作者创建了自己的SimpleExpander模板,然后向其中添加了拉伸动画。他甚至在其中添加了一个漂亮的旋转箭头。

The author creates his own SimpleExpander Template, then adds a stretch out animation to it. He even added a nifty rotating arrow to it.

这篇关于WPF中的动画扩展器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆