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

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

问题描述

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

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

推荐答案

我在 Code Project 上找到了这篇文章:阅读此处

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天全站免登陆