Articles in this section

How to select the WinForms SfComboBox dropdown items programmatically?

You can select the dropdown items programmatically by adding the items into DropDownListView.CheckedItems collection in WinForms SfComboBox control.

C#

foreach (var selectedItems in this.sfComboBox1.DropDownListView.View.Items.ToList())
{
  //Programmatically add the checked items
  this.sfComboBox1.DropDownListView.CheckedItems.Add(selectedItems);
}

Output:

Select the dropdown items programmatically

Sample: View in GitHub.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied