Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Picker with ViewModel and SelectedIndex

$
0
0

Have a picker with ViewModel, populated by a Web Service (the Picker is populated by an object, that contains PolicyName, PolicyID and Description. What I want to do is be able to select the item in the Picker by the Value (ie PolicyName), not by SelectedIndex. Originally I thought I be able to use the SelectedItem (OnChangeProperty) I use in the ViewModel that I use to get the SelectedItem that the user selects. But this time, I need the ability to set SelectedItem.

Thoughts? Or I didn't explain myself too well? :)

Cam.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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