Answers for "c# if combobox selected index"

C#
0

c# if combobox selected index

//detect if no selected item on ComboBox is chosen?
if( ComboBox.SelectedItem == null ) {
   // do something
}
Posted by: Guest on November-05-2020
0

c# if combobox selected index

Item m = comboBox.Items[comboBox.SelectedIndex];
  //Or
  Item m = comboBox.SelectedItem;
Posted by: Guest on November-05-2020

C# Answers by Framework

Browse Popular Code Answers by Language