Forum Cross Platform with Xamarin

How to show selected item text in edit mode using xamarin picker control?


I just created one xamarin picker control in my application and i done the items collection. While in update mode, its not showing the selected item text in the picker text box.
How can i solve it? Please look into this thread and answer for it asap. Thanks in advance.



  • Luis_dmLuis_dm USMember ✭✭✭
    edited December 2017
         public Page(){
         picker.ItemsSource = listaItems;   
         picker.SelectedIndexChanged += picker_SelectedIndexChanged;
         picker.SelectedIndex = 0;
       public void picker_SelectedIndexChanged(object sender, EventArgs e){
       _picker = sender as Picker;
       valorObtenido = listaItems[_picker.SelectedIndex];
Sign In or Register to comment.