Skip to main content
Logo Appt Light

Input gestures on Xamarin

Gesture activated functionality should also be available without the use of gestures. Not everyone is able to make all gestures. For example, for users with limited mobility it might be difficult or impossible to make the 'pinch-to-zoom' gesture. You should provide buttons to zoom in and out as an alternative.

With Xamarin, it is common to detect gestures using one of the recognizers defined in Xamarin Forms Gestures.

A gesture should not be the only way to trigger actions. Make sure to provide a second way, such as a button, to trigger the same action.

var pinchGesture = new PinchGestureRecognizer();
pinchGesture.PinchUpdated += (sender, event) => {
  // Provide alternative


Let us know!