We can clear the selection of ComboBox coding this:
combobox.SelectedIndex=-1;
with C# on Windows. However, it this coding methodology cannot run for macOS and iOS NSComboBox with Swift or Objective - C. What is the real solution ? Thanks.
We can clear the selection of ComboBox coding this:
combobox.SelectedIndex=-1;
with C# on Windows. However, it this coding methodology cannot run for macOS and iOS NSComboBox with Swift or Objective - C. What is the real solution ? Thanks.
Copyright © 2021 Jogjafile Inc.
Look in the documentation.
NSComboBoxhas a method:and to get the index of the selected item: