Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Need Image.Aspect.DoNothing

$
0
0

I'm creating a view with several image views where I don't know the size of the image at design time. I want the images to just be centered in the control and I don't want the images stretched in any way. I want them displayed as the original size.

The three options for Image.Aspect are AspectFit, AspectFill, and Fill. I need an option for do nothing.

I don't think I want to attempt to resize the Image views after the images have been downloaded.

Any suggestions?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>