XAML – Silverlight 4 – How to change button background color when using implicit button style focusing?

I have encountered great difficulties in trying to achieve something that should be trivial. I am using the implicit button style defined in the global XAML resource file. I just want to use ColorAnimation The background color of the focus button changed to red. I tried many different combinations in Storyboard.TargetProperty and Storyboard.TargetName, but nothing worked. How can I do this?

Thanks in advance.

I am trying to achieve Some things that should be trivial have encountered great difficulties. I am using the implicit button style defined in the global XAML resource file. I just want to use ColorAnimation to change the background color of the focus button to red. I am in Storyboard.TargetProperty and I tried many different combinations in Storyboard.TargetName, but nothing worked. How can I do this?

Thanks in advance.

Leave a Comment

Your email address will not be published.