views:

69

answers:

1

Hi All,

My problem is that in WPF, whenever I try and change the colour of a button's background using triggers or animations, the default mouseover effect (of being grey with that orange glow) seems to take priority.

After extensive searches I'm clueless as to how to remove this effect.

Any help?

Thanks,

Neil

+1  A: 

You need to create your own custom button template to have full control over the appearance in all states. Here's a tutorial.

Mark Heath
Thanks, that was perfect. It was more complicated to do than I thought it would be, but it all works well now.
Nellius