Reputation: 439
I'm currently using a xamarin forms picker and the example fworks fine as it's a List. (https://developer.xamarin.com/samples/xamarin-forms/UserInterface/BindablePicker/)
I need to bind it to a custom type:
StaffList= new ObservableRangeCollection<Staff>();
Problem is that the custom type Staff has multiple properties and types. for example: Id, name, age...
I only want the name to display in picker,
Is this possible, or is there only a list of strings that can attchieve this?
Thanks
Upvotes: 0
Views: 470