private void HandleFocus(Object sender, EventArgs e) { if (this.State == TextEditingState.Active) { this.State = TextEditingState.Editing; } else if (this.State == TextEditingState.Validated) { this.State = TextEditingState.Editing2; } else if (this.State == TextEditingState.Editing2) { this.State = TextEditingState.Editing; } }