public NewBookingPage()
 {
     InitializeComponent();
     //Registering picker control for Enum properties
     if (Device.RuntimePlatform == Device.UWP)
     {
         DataForm.RegisterEditor("TypeOfService", "DropDown");
         DataForm.RegisterEditor("ServiceStatus", "DropDown");
     }
     else
     {
         DataForm.RegisterEditor("TypeOfService", "Picker");
         DataForm.RegisterEditor("ServiceStatus", "Picker");
     }
 }
Esempio n. 2
0
 public AddTimeLogPage()
 {
     InitializeComponent();
     //Registering picker control for Enum property
     DataForm.RegisterEditor("Status", "Picker");
 }