Skip to content

GestureRecognizers for net6 and prior versions #10872

Answered by dr1rrb
Guidemarcus asked this question in Q&A
Discussion options

You must be logged in to vote

You should look at the "Manipulation events" https://learn.microsoft.com/en-us/windows/apps/design/input/touch-interactions#manipulation-events

Basically you only have to set the ManipulationMode=TranslateX (or ManipulationMode=TranslateX|TranslateInertia to enable inertia) on the element you want to drag and then listen to ManipulationStarted, ManipulationDelta and ManipulationCompleted events.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dr1rrb
Comment options

@Guidemarcus
Comment options

Answer selected by Guidemarcus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants