title: Xamarin Forms bind property to label's text
body: <p>I have Xamarin Forms xaml:</p>
  
  <pre><code>// MainPage.xaml
  &lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
               xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
               xmlns:local="clr-namespace:BlankAppXamlXamarinForms"
               x:Class="BlankAppXamlXamarinForms.MainPage"&gt;
  
  &lt;Label Text="{Binding myProperty}" /&gt;
  
  &lt;/ContentPage&gt;
  </code></pre>
  
  <p>And I have code behind:</p>
  
  <pre><code>// MainPage.xaml.cs
  namespace BlankAppXamlXamarinForms {
      public partial class MainPage : ContentPage
      {
          public string myProperty= "MY TEXT";
  
          public MainPage()
          {
              InitializeComponent();
              BindingContext = this;
          }
      }
  }
  </code></pre>
  
  <p>It should bind myProperty to label's text. However, nothing displays in the label. How to bind myProperty to label's text? (I know I should use ViewModel to be able to notify view about changes of the property but in this example I really just want to bind myProperty from code behind to the label)</p>