title: Xamarin Forms: Line break unicode works on xaml but on in code behind
body: <p>I want to have line break in the xamarin label. But it only works in xaml but not in code behind. The text is not static so I cannot have it in XAML. Can anyone suggest how to have line break via code behind ?</p>
  
  <p>Works:</p>
  
  <pre><code>&lt;StackLayout x:Name="DetailsContainer" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" Padding="20" InputTransparent="True" WidthRequest="0"&gt;
      &lt;Label x:Name=lbl Text="Line one &amp;#10; Line two." StyleClass="h3"/&gt;
  &lt;/StackLayout&gt;
  </code></pre>
  
  <p>If update the text like this in the xaml, the label would have a line break in the text but if I do the same in code behind it doesn't work</p>