Text truncation - .NET MAUI
In MAUI, the Label
component has the MaxLines
property set to -1
by default, making labels not truncated. You can modify this behavior by changing the MaxLines
property to a specific number.
<Label
Text="Avoid text truncation"
MaxLines="-1" />