How to animate the expanded and collapsed actions of a Wpf expander control?
相关问题
- Animate a WPF Window left and right with a shake e
- jQuery, how to make synchronous animations?
- 3D “cube” animation between Activities in Android
- Fade UITextField text
- Slick Animation - There must be one duration per f
相关文章
- Keep constant number of visible circles in 3D anim
- Animate opacity on hover (jQuery)
- WPF - Adding dynamic controls to dynamically added
- How to set x, y coordinates of WPF canvas children
- How to set the image resolution for animations?
- Animate height of groupbox from 0 to auto
- Custom transition animation unknown delay between
- Animation with animationSet() in android
I've found this article on Code Project : Read Here
The author creates his own SimpleExpander Template, then adds a stretch out animation to it. He even added a nifty rotating arrow to it.
I created a style based on msdn Style and the point in this answer:
Which requires this converter:
The main point is to set DoubleAnimation on
ContentRow.Height
in the template. However, you need to use aMultiBinding
to bind theTo
property of this animation.