Exemplo n.º 1
0
        private void OnSurfaceSelectTapped(object sender, EventArgs e)
        {
            if (role != "nwgc")
            {
                var surfaceList = MetaDataForDropDown.SurfaceList();
                if (surfaceList != null)
                {
                    GenericListSelectorPage objCarryOutActivityListFilter = new GenericListSelectorPage(surfaceList);

                    objCarryOutActivityListFilter.pickerHandler += (pickersender, pickerargs) =>
                    {
                        SurfaceSelect.Text = pickerargs.pickerValue;
                    };
                    Navigation.PushAsync(objCarryOutActivityListFilter);
                }
            }
        }