Skip to content

TBertuzzi/Xamarin.Forms.PinchZoomImage

Repository files navigation

Xamarin.Forms.PinchZoomImage

Zoom in on the image with the pinch of your fingers.

A simple way to zoom in and zoom out on your images with Xamarin.Forms.

This is the component, works on iOS, Android

NuGet

Name Info Contributors
Xamarin.Forms.PinchZoomImage NuGet GitHub contributors

Platform Support

PinchZoomImage is a .NET Standard 2.0 library.Its only dependency is the Xamarin.Forms

Setup / Usage

Does not require additional configuration. Just install the package in the shared project and use.

You just need to add the reference in your xaml file.

  xmlns:pinch="clr-namespace:Xamarin.Forms.PinchZoomImage;assembly=Xamarin.Forms.PinchZoomImage" 

Control

Use with the image control

 <pinch:PinchZoom>
     <pinch:PinchZoom.Content>
         <Image Source="xxamarin.jpg" />
     </pinch:PinchZoom.Content>
 </pinch:PinchZoom>     

The complete example can be downloaded here: https://github.com/TBertuzzi/Xamarin.Forms.PinchZoomImage/tree/master/PinchZoomImageSample

Base on original docs : https://docs.microsoft.com/xamarin/xamarin-forms/app-fundamentals/gestures/pinch

About

πŸ” Zoom in on the image with the pinch πŸ‘Œ of your fingers or double tapping πŸ‘†

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages