title: How get the value of a BindableProperty?
body: <p>I want get the value of a BindableProperty, because i want that have my BindableProperty two states for i can differentiate</p>
  
  <pre><code>&lt;local:MyEntry event="{Binding Flag,  Mode=TwoWay}"&gt;
  </code></pre>
  
  <p>and in my custom entry:</p>
  
  <pre><code>    public static  BindableProperty EventProperty =
                  BindableProperty.Create("event", typeof(string), typeof(MyEntry), "sigle", propertyChanged: (obj, oldValue, newValue) =&gt;
                  { });
  private string flag;
          public  string Flag
          {
              get { return flag; }
              set
              {
                  if (flag != value)
                  {
                      flag = value;
                      NotifyPropertyChanged("event");
                  }
              }
          }
  </code></pre>
  
  <p>and in my viewModel, this is the code:</p>
  
  <pre><code>private string flag;
          public string Flag
          {
              get { return flag; }
              set
              {
                  if (flag != value)
                  {
                      flag = value;
                      RaisePropertyChanged(() =&gt; Flag);
                  }
              }
          }
  private async Task Execute()
          {
              Flag = "Change";
          }
  </code></pre>
  
  <p>in my custom renderer</p>
  
  <pre><code>protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
          {
              base.OnElementPropertyChanged(sender, e);
                  Console.WriteLine("HERE "+ (entry as MyEntry).Flag); 
  //here i want to get the value
  </code></pre>
  
  <p><strong>with help of answer</strong> </p>
  
  <pre><code>if (e.PropertyName == MyEntry.EventProperty.PropertyName)
              {
                  var entry = Element as MyEntry;
                  var Flag = entry.Flag;
                  Console.WriteLine("... "+ Flag);
  </code></pre>