partial void DeleteButtonLease_TouchUpInside(UIButton sender) { if (val.IsPresent(DeleteLeaseTextField)) { var alert = UIAlertController.Create("Alert!", "Do you want to delete: " + DeleteLeaseTextField.Text + " from the lease list?", UIAlertControllerStyle.Alert); alert.AddAction(UIAlertAction.Create("YES", UIAlertActionStyle.Destructive, (obj) => { dm.DeleteLease(DeleteLeaseTextField.Text); ToastIOS.Toast.MakeText("Lease Deleted").Show(); DeleteLeaseTextField.Text = ""; stringList = dm.FillLeasePicker(); pickerMaker(stringList, DeleteLeaseTextField); })); alert.AddAction(UIAlertAction.Create("NO", UIAlertActionStyle.Default, (obj) => { DeleteLeaseTextField.Text = ""; })); vc.PresentViewController(alert, true, null); } }