public RegisterAddressView() { InitializeComponent(); _viewModel = new RegisterAddressViewModel(); BindingContext = _viewModel; }
public RegisterAddressPage() { InitializeComponent(); BindingContext = new RegisterAddressViewModel(); //if there is an account, display the add address button instead of the create account button if (Application.Current.Properties["accountID"] != null) { addr_label.IsVisible = true; create_acct.IsVisible = false; add_addr.IsVisible = true; } }