private void SetupPicker() { // Setup the picker and model PickerModel model = new PickerModel(this.colors); model.PickerChanged += (sender, e) => { this.selectedColor = e.SelectedValue; }; UIPickerView picker = new UIPickerView(); picker.ShowSelectionIndicator = true; picker.Model = model; // Setup the toolbar UIToolbar toolbar = new UIToolbar(); toolbar.BarStyle = UIBarStyle.Black; toolbar.Translucent = true; toolbar.SizeToFit(); // Create a 'done' button for the toolbar and add it to the toolbar UIBarButtonItem doneButton = new UIBarButtonItem("Done", UIBarButtonItemStyle.Done, (s, e) => { this.ColorTextField.Text = selectedColor; this.ColorTextField.ResignFirstResponder(); }); toolbar.SetItems(new UIBarButtonItem[]{doneButton}, true); // Tell the textbox to use the picker for input this.ColorTextField.InputView = picker; // Display the toolbar over the pickers this.ColorTextField.InputAccessoryView = toolbar; }