How do I change the WPF Expander Header Text when expanded or collapsed?

Posted by Scott Ferguson on Stack Overflow See other posts from Stack Overflow or by Scott Ferguson
Published on 2010-04-09T00:01:00Z Indexed on 2010/04/09 0:03 UTC
Read the original article Hit count: 334

Filed under:
|
|

Using a WPF expander, I want the Header to change from See More to See Less when the control is expanded, and back to See More when it's collapsed again. I'd prefer a WPF pure solution, rather than a C# or other code behind method. I get the feeling this should be easy, but I'm struggling for the right terms to get a solution via google.

Thanks!

© Stack Overflow or respective owner

Related posts about wpf

Related posts about expander