title: In WPF: how to disable the animation when the button after be pressed?
body: <p>I want no animation when button is pressed, but only the foreground and the background are changed, just like metro style. I'm so perplexed.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I create a sample in Expression Blend 4.
  There are 3 states: Normal, IsMouseOver, IsPressed:
  <img src="https://i.stack.imgur.com/0Fo2r.jpg" alt="enter image description here"></p>
  
  <p><strong>Edit 2:</strong></p>
  
  <p>I just modify the Title "In WPF: how to disable the animation when the button is pressed?" to "In WPF: how to disable the animation when the button after  be pressed?"</p>
  
  <p>I find some problems:</p>
  
  <ol>
  <li>When the mouse is over or press the button, the backgroud of button is not changed;</li>
  <li>The animation run after the button has be pressed, I just want to disable the animation.</li>
  </ol>
  
  <p><strong>Edit 3:</strong></p>
  
  <p>This .xaml can run in VS.</p>
  
  <pre><code>&lt;Window
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  x:Class="WpfApplication17.MainWindow"
  x:Name="Window"
  Title="MainWindow"
  Width="640" Height="480"&gt;
  &lt;Window.Resources&gt;
      &lt;Style x:Key="ButtonStyle1" TargetType="{x:Type Button}"&gt;
          &lt;Style.Triggers&gt;
              &lt;Trigger Property="IsMouseOver" Value="True"&gt;
                  &lt;Setter Property="Foreground" Value="White"/&gt;
                  &lt;Setter Property="BorderBrush" Value="Black"/&gt;
                  &lt;Setter Property="Background" Value="Black"/&gt;
              &lt;/Trigger&gt;
              &lt;Trigger Property="IsPressed" Value="True"&gt;
                  &lt;Setter Property="Background" Value="Black"/&gt;
                  &lt;Setter Property="BorderBrush" Value="Black"/&gt;
                  &lt;Setter Property="Foreground" Value="Red"/&gt;
              &lt;/Trigger&gt;
          &lt;/Style.Triggers&gt;
          &lt;Setter Property="Background" Value="White"/&gt;
          &lt;Setter Property="BorderBrush" Value="White"/&gt;
          &lt;Setter Property="Foreground" Value="Black" /&gt;
          &lt;Setter Property="BorderThickness" Value="1"/&gt;
          &lt;Setter Property="HorizontalContentAlignment" Value="Center"/&gt;
          &lt;Setter Property="VerticalContentAlignment" Value="Center"/&gt;
          &lt;Setter Property="Padding" Value="1"/&gt;
      &lt;/Style&gt;
  
  &lt;/Window.Resources&gt;
  
  &lt;Grid x:Name="LayoutRoot" &gt;
      &lt;Button Content="Button" 
              HorizontalAlignment="Left" 
              VerticalAlignment="Top" 
              Width="75" 
              Style="{DynamicResource ButtonStyle1}"/&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p></p>