public void Input_TextChanged(string text, InputTextContentView inputText)
        {
            if (text != " ")
            {
                text = text.Trim();
            }

            ViewModel.SearchText = text;
        }
 void IInputTextDelegate.Input_DidPressReturn(string text, InputTextContentView inputText)
 {
     if (inputText.Identifier == InputTextIdentifierUsername)
     {
         this.InputPassword.EntryItem.Focus();
     }
     else
     {
         this.ValidateLoginAsync();
     }
 }
 void IInputTextDelegate.Input_TextChanged(string text, InputTextContentView inputText)
 {
     if (inputText.Identifier == InputTextIdentifierUsername)
     {
         this.TextUsername = text;
     }
     else
     {
         this.TextPassword = text;
     }
 }
        void IInputTextDelegate.Input_DidPressReturn(string text, InputTextContentView inputText)
        {
            switch (inputText.Identifier)
            {
            case InputTextIdentifierUsername:
                this.InputEmail.EntryItem.Focus();
                break;

            case InputTextIdentifierEmail:
                this.InputEmailRepeat.EntryItem.Focus();
                break;

            case InputTextIdentifierEmailRepeat:
                this.InputPassword.EntryItem.Focus();
                break;

            case InputTextIdentifierPassword:
                this.RegisterAccountAsync();
                break;
            }
        }
        void IInputTextDelegate.Input_TextChanged(string text, InputTextContentView inputText)
        {
            switch (inputText.Identifier)
            {
            case InputTextIdentifierUsername:
                this.ViewModel.Username = text;
                break;

            case InputTextIdentifierEmail:
                this.ViewModel.Email = text;
                if (this.ViewModel.EmailRepeat.Trim() != this.ViewModel.Email.Trim())
                {
                    this.InputEmailRepeat.UpdateBorderColorError(true);
                }
                else
                {
                    this.InputEmailRepeat.UpdateBorderColorError(false);
                }
                break;

            case InputTextIdentifierEmailRepeat:
                this.ViewModel.EmailRepeat = text;
                if (this.ViewModel.EmailRepeat.Trim() != this.ViewModel.Email.Trim())
                {
                    this.InputEmailRepeat.UpdateBorderColorError(true);
                }
                else
                {
                    this.InputEmailRepeat.UpdateBorderColorError(false);
                }
                break;

            case InputTextIdentifierPassword:
                this.ViewModel.Password = text;
                break;
            }
        }
 public void Input_DidPressReturnAsync(string text, InputTextContentView inputText)
 {
     PerformSearch();
 }