public ValidatePasswordExeption Validate_password(string password) { return(validate.ValidatePassword(password)); }
/// <summary> /// Event fires when text has changes on the password field /// </summary> /// <param name="s">The input text of type ICharSequence</param> /// <param name="start">The start position of type int</param> /// <param name="before"></param> /// <param name="count">Length of string</param> public void OnTextChanged(ICharSequence s, int start, int before, int count) { passwordInputField.Error = GetStringResource(userValidation.ValidatePassword(s.ToString())); submitButton.Enabled |= passwordInputField.Error == null; }