You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Index of the selected item can be retrieved by using the SelectedIndex property. For more details please refer [How to select the item thorugh index index in SfComboBox](https://www.syncfusion.com/kb/12171/how-to-select-the-item-through-index-in-winforms-sfcombobox).
3
3
4
+
# C#
5
+
public Form1()
6
+
{
7
+
InitializeComponent();
8
+
List<State> list = GetData();
9
+
SfComboBox sfComboBox1 = new SfComboBox();
10
+
sfComboBox1.Size = new Size(150, 28);
11
+
sfComboBox1.Location = new Point(138, 56);
12
+
sfComboBox1.DataSource = list;
13
+
14
+
//Bind the Display member and Value member to the data source
0 commit comments