Reputation: 3
The color of the button does not change when the mouse is hovered over. More precisely, the color of the button changes to the standard one when hovering over it, not the preset one. The font color and other properties change. There is only one style. I tried to implement it using C#, not XAML, the result is the same. If you add the setter tempelate to define the background Background="{TemplateBinding Background}", then everything starts working. But I want to avoid adding this Setter. Since in the examples everything works without it.
Upvotes: -6
Views: 56