Hi,
I'm trying to use a bindable property in a custom SfPicker:
public class CustomTimePicker : SfPicker
{
public static readonly BindableProperty DeviceTimeFormatProperty = BindableProperty.Create("DeviceTimeFormat", typeof(int), typeof(CustomTimePicker), 0);
public int DeviceTimeFormat
{
get { return (int)GetValue(DeviceTimeFormatProperty); }
set { SetValue(DeviceTimeFormatProperty, value); }
}
//...
}
Even if I set the property to 0 or 1, the output that I have derives only from the default value that is 0.
DeviceTimeFormat="0"
DeviceTimeFormat="1"
It's possible to bind a custom property for SfPicker?
Regards,
Vito