SfPicker Item Template Example

Hi,

Can you provide a Xamarin.Forms example of using SfPicker with an ItemTemplate?  For example, binding the picker to an object from a collection, displaying a property of the object (but the entire object gets selected in the background)?

Thanks!

1 Reply

PA Paul Anderson S Syncfusion Team September 14, 2018 10:24 AM UTC

Hi Danny, 
  
Thank you for using Syncfusion products. 
  
In SfPicker we have a property "DisplayMemberPath" which can be set with the property name that need to be displayed when an object of collection is populated. Without using the ItemTemplate we can achieve your requirement and we have prepared a simple sample for the sample. Please have the sample from the below link. 
  
  
Please let us know if you have any concerns. 
  
Regards, 
Paul Anderson 


Loader.
Up arrow icon