partial void ButtonClicked(NSObject sender) { if (TimePickerDialog == null) { TimePickerDialog = new MDTimePickerDialog(MDClockMode.MDClockMode12H); TimePickerDialog.Delegate = new TimePickerDelegate(TimeTextField); } TimePickerDialog.Show(); }
partial void buttonShowHandle(MaterialControls.MDButton sender) { var dialog = new MDTimePickerDialog(); dialog.Show(); }
public override void DidSelectHour(MDTimePickerDialog timePickerDialog, nint hour, nint minute) { TextField.Text = hour + ":" + minute; }