How to use multi-line text block in wp7?

I want to display my text in multi-line format using textblock.i, I have one text block and its text property is bound to webservices.and the text block execution time on a long single line. But I want to split this single line into multi-line. so what can i do? I also use the text debugging property, but it does not work.

and my xmal code

<TextBlock FontSize="22" Text="Address:" Height="Auto"/> <TextBlock FontSize="22" Text="{Binding Address}" Height="Auto" Width="Auto" TextWrapping="Wrap" Margin="49,0,0,0" /> 
+6
source share
1 answer

Delete the fixed values Height="Auto" Width="Auto" .Set, and then set TextWrapping="Wrap"

+17
source

Source: https://habr.com/ru/post/920793/


All Articles