partial void ButtonPressed(NSObject sender)
 {
     if (pickerDialog == null)
     {
         pickerDialog          = new MDDatePickerDialog();
         pickerDialog.Delegate = new DatePickerDialogDelegate(TextField);
     }
     pickerDialog.Calendar.OverrideSelectedCellColor(UIColor.Red);
     pickerDialog.Show();
 }
        partial void ButtonPressed(NSObject sender)
        {
            if (pickerDialog == null)
            {
                pickerDialog          = new MDDatePickerDialog();
                pickerDialog.Delegate = new DatePickerDialogDelegate(TextField);
            }

            pickerDialog.Show();
        }
Beispiel #3
0
 partial void ButtonPressed(NSObject sender)
 {
     if (pickerDialog == null)
     {
         pickerDialog          = new MDDatePickerDialog();
         pickerDialog.Delegate = new DatePickerDialogDelegate(TextField);
     }
     pickerDialog.Calendar.OverrideSelectedCellColor(UIColor.Red);
     pickerDialog.Calendar.MinimumDate     = ConvertDateTimeToNSDate(new DateTime(1910, 1, 1));
     pickerDialog.MaximumDate              = ConvertDateTimeToNSDate(new DateTime(2019, 1, 1));
     pickerDialog.CloseWhenClickBackground = true;
     pickerDialog.Show();
 }