Home » FAQ » .NET MAUI » How can I make a Label’s text span multiple lines in XAML?
To make a Label’s text wrap to multiple lines, set the LineBreakMode property to WordWrap.
XAML
<Label Text="This is a long piece of text that will wrap to multiple lines" LineBreakMode="WordWrap" />
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with