Created
October 27, 2018 15:05
-
-
Save asozyurt/7d57dcb943644ac24a271af9a3de6231 to your computer and use it in GitHub Desktop.
Capturing Swipe Gesture From An Image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmlns:bhv="clr-namespace:PathToZoomImageBehavior" | |
... | |
<ContentView VerticalOptions="FillAndExpand" | |
HorizontalOptions="FillAndExpand"> | |
<Image x:Name="imgActivePage" | |
Aspect="Fill" | |
Source="{Binding ImageUrl}"> | |
<Image.Behaviors> | |
<bhv:ZoomImageBehavior IsScaleEnabled="True" | |
IsTranslateEnabled="True" /> | |
</Image.Behaviors> | |
</Image> | |
</ContentView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment