WPF TouchEvents - Capture the very first touchdown

I have a WPF application that works fine separately from one thing: capturing an event that fires when the user first touches an item. TouchDown doesn't seem to work, at least without significant delay. TouchEnter works great when the user slides a finger on an element, but when they first put their finger on it, there is a significant delay before any event is triggered. I need the element to respond almost immediately, so any suggestions?

Thank you in advance

+4
source share
1 answer

The solution is to add to the XAML for the control: Stylus.IsPressAndHoldEnabled = "False"

<Image Name="image" Source="images\animage.jpg" Stylus.IsPressAndHoldEnabled="False"/> 
+4
source

All Articles