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

How to change size of an image in code behind

$
0
0

I have a ContentPage defined in XAML where I want to change the size of an image via code behind later on.
But setting the WidthRequest and HeightRequest does not change the size of the image. If I change the Opacity value, then that does alter the opacity.

Do I have to do anything special for changing the size of the image?

Regards,
Christian


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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