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

How to know if a Label has been tail truncated?

$
0
0

I set MaxLines on a label to 5 and LineBreakMode to TailTruncation. How can I know if the text was indeed truncated so that I can show a "View More" button? Note that I'm setting FormattedText since I have Spans with different colors in the text. When I look at FormattedText in the debugger, I still see the original text.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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