title: Clear the Entry.Text value when if perceive a certain condition
body: <p>Is there a way that I can clear the entry.text when ever meet some condition? I guess my question is how do I capture the text changed of the  entry in Xamarin over (sender, TextChangedEventArgs)?</p>
  <pre><code>private void EntryBoxBarCode_TextChanged(object sender, TextChangedEventArgs e)
  {
      if (EntryBoxBarCode.Text != &quot;&quot;)
      {
          var entry = new Entry();
          entry.Text = e.NewTextValue;
          WorkFormCheck(entry.Text);
  
          if (typeOfBarCode != &quot;&quot;)
          {
              //Here is the condition where I want to clear the text
              entry.Text = &quot;&quot;;
              EntryBoxBarCode.Focus();
          }
      }
      else
      {
          //pasing the right value of the entry, then focus to other Entry
          EntryPackCode.Focus();
      }         
  }
   
  </code></pre>
  <p>Xaml:</p>
  <pre><code>&lt;Entry Grid.Row=&quot;0&quot; Grid.Column=&quot;1&quot; x:Name=&quot;EntryBoxBarCode&quot; WidthRequest=&quot;250&quot; TextChanged=&quot;EntryBoxBarCode_TextChanged&quot;/&gt;
  </code></pre>