I'm looking for an event called onExit in editText , but I found none.
What I want to do is add a function when leaving the field.
Ex 1: The user is using a bluetooth
barcode reader and when he reads the code, the reader already moves to another field (with TAB
set in the barcode reader) and already loads the data related to that code.
Ex 2: When adding the CEP when the user selects another field the system already automatically loads others without pressing any button.
Ex. In code: Change the "translateButton" button for the editText and the "Click" event to what I did not realize is the "onExit".
translateButton.Click += (object sender, EventArgs e) =>
{
Core.PhonewordTranslator.ToNumber(phoneNumberText.Text); // Translate user's alphanumeric phone number to numeric translatedNumber =
if (String.IsNullOrWhiteSpace(translatedNumber))
{
callButton.Text = "Call"; callButton.Enabled = false;
}
else
{
callButton.Text = "Call " + translatedNumber; callButton.Enabled = true;
}
};
If anyone knows something like this, please help me.