title: UWP MVVMCross bind property to method
body: <p>How do I change the content of the second button, based on the method from the first button with MVVPCross?</p>
  
  <p>Something like this:</p>
  
  <p>MainPage.xaml:</p>
  
  <pre><code>&lt;Button Content="Translate" Click="{x:Bind PhonewordTranslator.Translate}" /&gt;
  &lt;Button Content="{x:Bind PhonewordTranslatorViewModel.CallButtonText, Mode=TwoWay}" Click="{x:Bind PhonewordTranslatorViewModel.Call}" /&gt;
  </code></pre>
  
  <p>PhonewordTranslatorViewModel.cs:</p>
  
  <pre><code>public class PhonewordTranslatorViewModel : MvxViewModel
  {
      ...
      private string _callButtonText;
      public string CallButtonText { get=&gt;_callButtonText; set=&gt;SetProperty(ref _callButtonText, value); }
  
      public void Translate()
      {
          SetProperty(ref _callButtonText, "test123");            
      }    
  }
  </code></pre>