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

How to get a label's Height

$
0
0

Hi, I have a none static label on my project that gets updated with different values. I was wondering if there is any way of getting the height and width of the label after the text was updated?

I have used various methods including label.Bounds but it always returns a -1. I have also put the label inside a frame thinking it would make a difference but it returns -1

Can anyone help me with this?

Thank you,
Jason


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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