Forum Cross Platform with Xamarin

Multiline label in Xamarin

I want to create a Label object in XAML with multiple lines of text. The way i am doing right now is

<Label Text="Something &#x0a Another thing &#x0a Another thing &#x0a>

So here, i am using &#x0a for new line.
Now i might have a label with 10 lines of text. Putting it like above does not look good. Plus i dont think creating 10 Label objects is a good idea.
I saw something like that fits my needs but i dont think they are available for Android and iOS (correct me if i m wrong).

Can anyone please suggest be an optimal solution for this ?

THank you

Best Answer


Sign In or Register to comment.