Hi,
I am implementing a touch and mouse supporting app with WPF 4/4.5 and Win7 (not Win8/Metro/not Silverlight/not Surface). The app contains a scroll-able panel (ScrollViewer) with regular controls on it: Buttons, Check/Radio, TextBoxes etc.. I need to be able to support tapping (clicking) and tap&hold on the controls to invoke some custom actions as well as scrolling by touch swipes & mouse dragging.
What is the right way to approach this?
The ScrollViewer supports manipulations (at least for touch) but I see no way to implement Tap on its children as Manipulations do not appear to recognize Tap gesture. Following this article would suggest to handle TouchDown in controls but this prevents manipulations on ScrollView. I'd think somewhere (Input system?) there would be some logic that would detect touchdown/move/up and decide if this was a Tap or a Manipulation (Swipe) based on distance of motion (as Surface library does it).
Thanks,
Michal
Michal