I have a replay button that updates an integer in the text box by 5. This works well with the mouse. When I try to use this on the touch screen, the event will not be repeated, although I see that the style still does not work.
I tried to handle the TouchDown event because I suggested that this should be the result of the difference between RoutedEventArgs and TouchEventArgs. It also did not provide continuous bombardment of the event. Interestingly, however, this triggered the MouseDOwn and TouchDown events, leading to an increase of 10.
How to make the repeat button repeat on the touch screen?
source share