How to Make Span Text/content Wrapped if it exceeds?

Pratap Singh, Ayush 20 Reputation points
2024-04-15T09:49:12.2+00:00

Here if my account number exceeds the numbers from last get cut/disappear. So I used LineBreakMode to WordWrap in label but this is also not working here.

                                <Label FontFamily="InterstateRegular">
                                    <Label.FormattedText>
                                        <FormattedString>
                                            <Span Text="{x:Statiresx:AppResources.ACC_NO_COLON}"/>                                               		<Span Text="{Binding AccountNumber}" TextColor="#0098CC"/>
                                        </FormattedString>
                                    </Label.FormattedText>
                                </Label>

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,294 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,890 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
765 questions
{count} votes