How to create a multiline label in StackLayout/Grid for UWP?
<p>I'm using Xamarin.Forms and I haven't found out how to have a multiline label for UWP. In my real project I have the label in a <code>Grid</code> on a <code>ViewCell</code> in a <code>ListView</code>. For the below example I've put it into a <code>StackLayout</code>:</p>

<pre class="lang-xml prettyprint-override"><code>&lt;StackLayout Orientation="Horizontal" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"&gt;
    &lt;Label x:Name="titleLabel" Text="some long text" LineBreakMode="WordWrap" /&gt;
    &lt;Label x:Name="valueLabel" Text="perhaps a much, much, much, much, much, much, much, much, much longer text" LineBreakMode="WordWrap" /&gt;
&lt;/StackLayout&gt;
</code></pre>

<p>The code is working on iOS and Android, but not on UWP. Here the text gets cut off. If only one label and no <code>StackLayout</code> is used it appears correctly on UWP with the multiline text.</p>

<p>I also tried to use a custom renderer with a multiline <code>TextBlock</code> as label, but the result was the same - the text is cut off.</p>

<p>Is this a bug or am I missing something?</p>

<p><strong>Edit:</strong></p>

<p>Now I made a UWP project</p>

<pre class="lang-xml prettyprint-override"><code>&lt;StackPanel Orientation="Horizontal"&gt;
    &lt;TextBlock Text="oh this is a label" TextWrapping="Wrap" /&gt;
    &lt;TextBlock Text="and this should be a very, very, very, very, very, very, very, very, very, very long text" TextWrapping="Wrap" /&gt;
&lt;/StackPanel&gt;
</code></pre>

<p>and here the text is also cut off. It seems it isn't possible in UWP. Are there any other solutions/workarounds?</p>