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

Xamarin.Forms 'this.Loaded' event

$
0
0

Im drawing some controls into a grid from the code behind file of a xaml content page. I'm having to do this straight from the constructor because there doesn't seem to be an event that gets fired when the page is fully loaded, meaning I don't have access to the Page Properties such as Width and Height.

Is there an event that I haven't stumbled across in the docs yet that is fired on the page load? If not, how do I get access to these properties from the constructor? (This seems like a fairly fundamental thing to be able to do?)

I have discovered the OnAppearing event, and that's proving just as much good as the constructor :)


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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