Can you recommend control or maybe an easy way to do this in WPF application. What I want is control that will collapse and expand itself on button press. It will be great if it looks like Win7 default one.


Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here you are – Expander. Use IsExpanded property to change
Expander‘s content visibility from code, or use built-in toggle button to change it interactively.The read area is a header of
Expander, the green area is a content ofExpander.To achieve the same behavior, you also need to set Expander.ExpandDirection property to
Upvalue.If you want to animate expanding, you’ll need to add a trigger on
IsExpanded = truean animation storyboard.