3
votes

After one has enter log on information e.g. UserName,Password if its possible to add the NeXT possibility so one doesn't have to press Return, keyboard disappears, and I need to tap With the mouse again to Write in NeXT Field.

How can I Focus and retain keyboard to next field in xamarin pcl project?

ex: I have UserName and Password field on my xamarin XAML view. after i entered userName i want to set focus to Password field and without click on the password field should appear the keyboard.

1

1 Answers

4
votes

You can use the completed event.

        UsernameField.Completed += (s, e) =>
        {
            UsernameField.Unfocus();
            PasswordField.Focus();

        };