partial void DeletePlaneButton_TouchUpInside(UIButton sender) { if (val.IsPresent(DeletePlaneTextField)) { var alert = UIAlertController.Create("Alert!", "Do you want to delete: " + DeletePlaneTextField.Text, UIAlertControllerStyle.Alert); alert.AddAction(UIAlertAction.Create("YES", UIAlertActionStyle.Destructive, (obj) => { dm.DeletePlane(DeletePlaneTextField.Text); ToastIOS.Toast.MakeText("Plane Deleted!").Show(); DeletePlaneTextField.Text = ""; stringList = dm.FillPlanePicker(); pickerMaker(stringList, DeletePlaneTextField); })); alert.AddAction(UIAlertAction.Create("NO", UIAlertActionStyle.Default, (obj) => { DeletePlaneTextField.Text = ""; })); vc.PresentViewController(alert, true, null); } }