I have the following ListView:
<ListView Name="listView1" Grid.Row="1" ItemsSource="{Binding Items}" >
<ListView.ItemTemplate>
<DataTemplate>
<StackPanel>
<TextBlock Text="{Binding Title}" />
<TextBlock Text="{Binding Content}" />
<TextBlock Text="{Binding Link}" FontSize="18" />
</StackPanel>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
My problem is with the TextBlock cantaining the Content. If the text exceeds the width of the screen I want the remaining text to appear on the second row of the TextBlock.
Is this possible with a TextBlock ?
Thanks.
Just set the TextWrapping property, like so: