0

I have a WPF application which will be used in tablet and pc both. So I have little confusion about which event to use on button tap. Click or any touch event? I just want that everything works fine on touch device and I don't have touch device to test.

mayank.karki
  • 750
  • 1
  • 9
  • 34
  • 1
    I guess touch events may not be available on a non-touch devices. So Click seems to be good enough for both kind of devices. – pushpraj Sep 02 '14 at 13:01
  • All touch related events are mapped to desktop events like the click event, so handling those will cover both mouse clicks and finger taps. – Sheridan Sep 02 '14 at 13:14
  • For a `Button` control, please handle `Click`, not `Tapped`. – Jerry Nixon Oct 07 '19 at 18:57

0 Answers0