private void comboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) { if (null != comboBox.SelectedItem) { insertText = true; ComboBoxItem cbItem = (ComboBoxItem)comboBox.SelectedItem; textBox.Text = cbItem.Content.ToString(); SuggestionSelected?.Invoke(this, cbItem.Content.ToString()); } }
private void NotifySuggestionSelected() { SuggestionSelected?.Invoke(this, SelectedSuggestion); IsOpen = false; }
public void RowSelected(UITableView tableView, NSIndexPath indexPath) { SuggestionSelected?.Invoke(this, _results[indexPath.Row]); DismissViewController(true, null); }