Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Adding index to xamarin picker

$
0
0

Hi all
Can I add item and index to xamarin picker
in asp.net I use this code

DropDownList1.Items.Add(New ListItem("English","EN"))

but in Xamarin forms I can only add Item

 Picker1.Items.Add("English");

Is there a way to add the index, because I want to retrieve the index value?

Thank you in advance


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>