Relative Content

Tag Archive for c#.netwpfxamlstyles

A VisualStateManager in a style template doesn’t allow for a TemplateBinding

I am creating a style for a button so that I can easily control what color it is when I hover or click it. When I first started creating this I was using normal triggers, but this didn’t work because I couldn’t have an animation for clicking it. I was told to use a VisualStateManager instead. That was in this question