GreenEyedAndy
GreenEyedAndy

Reputation: 1525

Handling mouse and touch events

is there a way to handle touchup and touchdown events exact the same way like mouseup and mousedown? If I do a press with one finger then windows want to do a left mouse button click to show a contextmenu. The mousedown event is not fired. Are there events to simply react to touchdown and touchup like mosueup and mousedown? In Win32 there were the pointer-events which works as expected.

Upvotes: 0

Views: 575

Answers (1)

GreenEyedAndy
GreenEyedAndy

Reputation: 1525

I found it! You must set Stylus.IsPressAndHoldEnabled to false to get the TouchDown event when pressing the finger (without lifting it).

Upvotes: 2

Related Questions