title: Simple Xamarin Forms text binding in code behind not working
body: <p>I have a very simple code sample to try to test an aspect of data binding. However, I cannot get it to work, and I'm hoping someone can point out to me what I'm doing wrong.</p>
  
  <p>In the cs code-behind file I have this:</p>
  
  <pre><code>string textSample = "This is a test!";
  BindingContext = this;
  </code></pre>
  
  <p>And in the xaml file:</p>
  
  <pre><code>&lt;Label Text = "{Binding Path=textSample}" /&gt;
  </code></pre>
  
  <p>When I run the code, the label does not display anything.</p>
  
  <p>I'm obviously missing something, but I can't see what.</p>
  
  <p>Thanks in advance for any help</p>