Пример #1
0
        private void DidSelectAddressHandler(object sender, CountryPickerPageEventArgs e)
        {
            ViewModel.Address = e.Item.Name;

            if (ViewModel.Address.ToLower() == "united states of america" || ViewModel.Address.ToLower() == "usa")
            {
                ErrorView.IsVisible = true;
            }
            else
            {
                ErrorView.IsVisible = false;
            }

            EnableDisableButton();
        }
Пример #2
0
 private void DidSelectCountryHandler(object sender, CountryPickerPageEventArgs e)
 {
     ViewModel.PhoneCode = e.Item.CallingCode;
 }