SHARE
TWEET

Untitled

a guest Aug 25th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. There are 2 ways:
  2. 1- Frame and Image
  3. <Frame CornerRadius="10" Margin="0" Padding="0" IsClippedToBounds="True" HasShadow="false">
  4.     <Image Source="{Binding Picture}" Aspect="AspectFill" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"/>
  5. </Frame>
  6.  
  7. 2- FFImageLoading
  8. <ffimageloading:CachedImage HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
  9.     Aspect="AspectFill" DownsampleToViewSize="true" Source = "{Binding Picture}">
  10.     <ffimageloading:CachedImage.Transformations >
  11.         <fftransformations:CornersTransformation
  12.             CornersTransformType="AllRounded"
  13.             BottomLeftCornerSize="10" TopLeftCornerSize="10"
  14.             TopRightCornerSize="10" BottomRightCornerSize="10"/>
  15.     </ffimageloading:CachedImage.Transformations>
  16. </ffimageloading:CachedImage>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top