Esempio n. 1
0
 public SignUpPage(SignUpPageModel model)
 {
     this.PageModel          = model;
     this.BindingContext     = model;
     model.CorrespondingPage = this;
     this.InitializeComponent();
 }
Esempio n. 2
0
 void HandleEmail_TextChanged(object sender,
                              Xamarin.Forms.TextChangedEventArgs e)
 {
     if (sender is Entry)
     {
         SignUpPageModel model      = this.PageModel as SignUpPageModel;
         Entry           emailEntry = sender as Entry;
         model.OnEmailTextChanged(emailEntry.Text);
     }
 }