title: WPF button press on Windows 7 mulit-touch
body: <p>I am developing a WPF kiosk like client that will be deployed on an HP TouchSmart Windows 7 machine with multi-touch enabled.  My problem is that with Windows 7 multi-touch, the application does not recognize a finger 'tap' as a button press event, and therefore the button press Trigger to change color is never fired.  </p>
  
  <p>The Windows 7 animation for the touch usually displays, and the button click event fires fine.  It is only the XAML define style for the 'IsPressed' event that does not function as intended on a finger tap.  It does eventually work if enough pressure is applied with a finger and/or you roll or press like you would do for a fingerprint.  Is there a workaround for to make a 'tap' fire a press/click event?</p>
  
  <pre><code>&lt;Trigger Property="AreAnyTouchesOver" Value="true"&gt;
      &lt;Trigger.ExitActions&gt;
          &lt;BeginStoryboard Storyboard="{StaticResource PressedOff}" /&gt;
      &lt;/Trigger.ExitActions&gt;
      &lt;Trigger.EnterActions&gt;
          &lt;BeginStoryboard Storyboard="{StaticResource PressedOn}" /&gt;
      &lt;/Trigger.EnterActions&gt;
  &lt;/Trigger&gt;
  
  &lt;Trigger Property="AreAnyTouchesDirectlyOver" Value="true"&gt;
      &lt;Trigger.ExitActions&gt;
          &lt;BeginStoryboard Storyboard="{StaticResource PressedOff}" /&gt;
      &lt;/Trigger.ExitActions&gt;
      &lt;Trigger.EnterActions&gt;
          &lt;BeginStoryboard Storyboard="{StaticResource PressedOn}" /&gt;
      &lt;/Trigger.EnterActions&gt;
  &lt;/Trigger&gt;
  </code></pre>