WPF, how to make button background blink upon click, using xaml
<p>I want all buttons to blink for 5 seconds when they are clicked. </p>

<ul>
<li><p>I try to do it via a style that applies to all buttons (do I need to refer to the style when I declare buttons in xaml or does the style automatically apply to all buttons?)</p></li>
<li><p>I can make the <code>Foreground</code> change color but what I want is that the background behind the Text of the button changes color not the text itself.</p></li>
<li><p>I currently have a <code>ColorAnimation</code> but I want the button background to blink by alternating between two colors, I do not want the whole color spectrum to be displayed. </p></li>
</ul>

<p>I have the following code so far. Can someone please help me in the right direction?</p>

<p><strong>Edit</strong></p>

<p>If animating the button background is tougher to animate then I can easily settle with the foreground animation.</p>

<pre><code>&lt;Style TargetType="{x:Type Button}"&gt;
        &lt;Style.Triggers&gt;
            &lt;EventTrigger RoutedEvent="Click"&gt;
                &lt;EventTrigger.Actions&gt;
                    &lt;BeginStoryboard&gt;
                        &lt;Storyboard BeginTime="00:00:00" 
                                RepeatBehavior="Forever" 
                                Storyboard.TargetProperty="(Background).(SolidColorBrush.Color)"&gt;
                            &lt;ColorAnimation From="Black" To="Red" Duration="0:0:5"/&gt;
                        &lt;/Storyboard&gt;
                    &lt;/BeginStoryboard&gt;
                &lt;/EventTrigger.Actions&gt;
            &lt;/EventTrigger&gt;
        &lt;/Style.Triggers&gt;
    &lt;/Style&gt;
</code></pre>