Skip to content

Instantly share code, notes, and snippets.

View Pravin-Divraniya's full-sized avatar

Pravin Divraniya Pravin-Divraniya

  • Ahmedabad
View GitHub Profile
@Pravin-Divraniya
Pravin-Divraniya / Xamarin-Forms-iOS-BindablePicker.cs
Created October 25, 2017 08:17
This custom picker resolves one issue (issue :- User can't be able to handle done button in default iOS Picker) in Xamarin forms.
namespace CustomControl
{
public class BindablePicker : Picker
{
#region Fields
//Bindable property for the items source
public static readonly BindableProperty ItemsSourceProperty =
BindableProperty.Create<BindablePicker, IEnumerable>(p => p.ItemsSource, null, propertyChanged: OnItemsSourcePropertyChanged);