Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Thank you for your reply :) - If I got it right this solution is "just a dirty work-around". To clarify, I just wanted to make a reusable Expander with a "new look and feel". You may tell me what would be a best practice solution? (I don't want to insult you by telling it's a work-around - but as far as i understood a usercontrol is not the best thing for my purpose) Commented Jan 22, 2016 at 6:53
  • @Chill-X In your case, yes it is probably better to just use a custom Template for your Expander than a whole new UserControl, however the core problem would be the same regardless. Its good to know the cause and solution so you don't run into issues like this in the future :) Commented Jan 22, 2016 at 14:51