Esempio n. 1
0
        protected void ShowPickerForPhotoId(object sender, EventArgs e)
        {
            var pickerPop = new ExtendedPickerPopup();

            pickerPop.BindingContext = this;

            pickerPop.ItemsSource = new List <string> {
                "Passport", "Drivers license", "National ID card"
            };
            pickerPop.Title = "Photo ID";

            pickerPop.SelectedIndexChanged += PickerPop_SelectedIndexChanged;

            Navigation.PushPopupAsync(pickerPop, true);
        }
Esempio n. 2
0
        protected void ShowPickerforAddressVerification(object sender, EventArgs e)
        {
            var pickerPop = new ExtendedPickerPopup();

            pickerPop.BindingContext = this;

            pickerPop.ItemsSource = new List <string> {
                "Utility Bill", "Rent Reciept", "Telephone Bill"
            };
            pickerPop.Title = "Address Verification";

            pickerPop.SelectedIndexChanged += PickerPop_SelectedIndexChanged;

            Navigation.PushPopupAsync(pickerPop, true);
        }
Esempio n. 3
0
        private void grdTapped_Tapped(object sender, EventArgs e)
        {
            if (ReinvestOptionList != null && ReinvestOptionList.Count > 0)
            {
                var pickerPop = new ExtendedPickerPopup();

                pickerPop.ItemsSource = ReinvestOptionList;
                pickerPop.PickerTitle = "Re-Invest";

                pickerPop.SelectedIndexChanged += (p, t) =>
                {
                    lblReinvestValue.Text    = t.DisplayText;
                    toggleSelected.IsToggled = true;
                };

                Navigation.PushPopupAsync(pickerPop, true);
            }
        }