How to get/detect screen size in Xamarin.Forms?

$5
=
$3.1
+
$1.9
$5 Bitcoin bounty has been announced by author.
$3.1 has been already awarded by author.
$1.9 remains available.
0

I am trying to rewrite an app that I originally developed for iOS. I was going to develop a native Android version but then decided it would be better to use this opportunity and try using Xamarin.Forms. Doing it one Page at a time, now I'm stuck with the Page where I need to get the screen's width and height. Does anyone know the equivalent of iOS' View.Frame.Width in Xamarin.Forms?

Tags: , ,

1 Answer - total earned - 0.09999999 mBTC ($0.03 USD)

1
=
1
=
$0.03
1 tip with total amount of 0.09999999 mBTC($0.03 USD) have been sent by alexander.kojemyakin

There isn't currently a way from Xamarin.Forms itself but we have it implemented as PCL compatible interface in Xamarin.Forms.Labs which you can get from NuGet or source code from GitHub: https://github.com/XForms/Xamarin-Forms-Labs

SEND BITCOIN TIPS
0

Post Answer


Top 3 Tippers
Recent Tips

Will Bitcoin Tipping become a new Internet Culture?


Please share our story! THANK YOU!