WPF Slider Not Working with Touch Screen

We hit a problem yesterday when we were testing one of our Microsoft WPF applications on a touch screen set-up, one of the app’s sliders wasn’t correctly responding to touch events and it couldn’t be dragged properly using the touch screen even though mouse control still worked perfectly.


It turns out that there is a bug in the WPF software framework related to touch that needs to be programmed around. The problem was fixed by following the instructions detailed here:




Many thanks to JOSHB for posting the workaround!