Hi Nathan,
Greetings from Syncfusion.
We have checked the requirement in SfComboBox control, and you can achieve this by using SelectedItem API. We have prepared a sample based on your requirement. Please have the sample from the below link,
Code Snippet:
XAML:
<combobox:SfComboBox x:Name="comboBox" HeightRequest="50" MultiSelectMode="Token" DataSource="{Binding Colors}" SelectedItem="{Binding SelectedItem}" Watermark="Select an Item" SelectionChanged="Handle_SelectionChanged" ComboBoxMode="Suggest"> </combobox:SfComboBox>
C#:
void Handle_SelectionChanged(object sender, Syncfusion.XForms.ComboBox.SelectionChangedEventArgs e) { ObservableCollection<object> SelectedItems = new ObservableCollection<object>(); SelectedItems = (sender as SfComboBox).SelectedItem as ObservableCollection<object>; } |
Please check with the sample and let us know if you have any concern.
Regards,
Muneesh Kumar G.