How can I make a Label’s text span multiple lines in XAML?

Platform: .NET MAUI| Category: Controls

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" />

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.