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

How to get the automatically set width of a Label?

$
0
0

I have a Grid and a Label in a column of the Grid. The Width of the ColumnDefinition of the column containing the Label is “GridLength.Auto”. Then the “Width” property of the Label returns –1. How do I get the actual width of the Label? I do not see it in any of the properties of the Label.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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