title: How to change label text in xamarin
body: <p>I am relatively new to Xamarin forms. I have found out I am unable to change label text from the code behind. Normally I would do <code>myLabel.text = variable</code>. Does this work in Xamarin? If it does why does this code not change the text?</p>
  
  <pre><code>Label_ControlSW.Text = controlSW_Out;
              Label_BLESW.Text = bleSW_Out;
              Label_Mode.Text = mode_Out;
  </code></pre>
  
  <p>Xaml file</p>
  
  <pre><code>&lt;Label x:Name="Label_ControlSW" Grid.Row="1" Grid.Column="1" HorizontalOptions="Center"  VerticalOptions="Center" FontSize="17" TextColor="White"/&gt;
                  &lt;Label x:Name="Label_BLESW" Grid.Row="2" Grid.Column="1" HorizontalOptions="Center"  VerticalOptions="Center" FontSize="17" TextColor="#525252"/&gt;
                  &lt;Label x:Name="Label_Mode"  Grid.Row="4" Grid.Column="1" HorizontalOptions="Center"  VerticalOptions="Center" FontSize="17" TextColor="White"/&gt;
  </code></pre>