Is there a way to do style mixins/style stacks in WPF?

Hi guys,

I remember reading an article on someones blog a few years ago about being able to apply multiple styles to a single XAML element. I've been looking for a while and can't find it. I vaguely remember it somehow involved the HTML agility pack and leveraging Style.BasedOn to build dynamic compound styles at runtime. Has anyone done or seen anything similar to this?

Thanks!

by CCRed95 via /r/csharp

Leave a Reply