Skip to content

Instantly share code, notes, and snippets.

@juucustodio
Created June 24, 2018 02:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juucustodio/92bc8f8944f6b526baa238e03f0a7d87 to your computer and use it in GitHub Desktop.
Save juucustodio/92bc8f8944f6b526baa238e03f0a7d87 to your computer and use it in GitHub Desktop.
Example of how to implement zoom in images in Xamarin.Forms applications. - http://julianocustodio.com/zoom-image
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:DemoZoomImage"
x:Class="DemoZoomImage.MainPage">
<Grid Padding="20">
<local:PinchToZoomContainer>
<local:PinchToZoomContainer.Content>
<Image Source="wallpaper.jpg"/>
</local:PinchToZoomContainer.Content>
</local:PinchToZoomContainer>
</Grid>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment