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

Anonymous
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>

Developer technologies | .NET | Xamarin
Developer technologies | .NET | .NET MAUI
Developer technologies | XAML
Developer technologies | 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.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.