Exemplo n.º 1
0
 public LoginPage()
 {
     InitializeComponent();
     BindingContext = new LoginDBModel();
     UserNameEntry.SetBinding(Entry.TextProperty, "Username");
     PasswordEntry.SetBinding(Entry.TextProperty, "Passdata");
 }
Exemplo n.º 2
0
        public EnterUserPage()
        {
            InitializeComponent();

            NavigationPage.SetHasBackButton(this, false);

            UserNameEntry.SetBinding(Entry.ReturnCommandProperty, nameof(EnterUserViewModel.NavigateToPlaylistPageCommand));

            NextButton.SetBinding(Button.CommandProperty, nameof(EnterUserViewModel.NavigateToPlaylistPageCommand));
        }