New to Telerik UI for WinForms? Download free 30-day trial

Getting Started with WinForms CheckedDropDownList

The following tutorial demonstrates how to populate RadCheckedDropDownList and how to react to a user's choice in code.

Figure 1: Adding items at design time

WinForms RadCheckedDropDownList Adding Items at Design Time

1. Drag RadCheckedDropDownList to a form and click the Smart Tag.

2. Click the Edit Items button.

3. Add a few items.

4. Check some of them.

5. In the Properties section in Visual Studio select the events button and double click the ItemCheckedChanged event.

6. Replace the automatically generated event handler with this code:

Handling ItemCheckedChanged event

private void radCheckedDropDownList1_ItemCheckedChanged(object sender, RadCheckedListDataItemEventArgs e)
{
      RadMessageBox.Show(" Item >> " + e.Item.Text + " Checked state >> " + e.Item.Checked);
}

Private Sub radCheckedDropDownList1_ItemCheckedChanged(sender As Object, e As RadCheckedListDataItemEventArgs)
    RadMessageBox.Show(" Item >> " + e.Item.Text + " Checked state >> " + e.Item.Checked)
End Sub

Figure 2: Handling ItemCheckedChanged

WinForms RadCheckedDropDownList Handling ItemCheckedChanged

See Also

Telerik UI for WinForms Learning Resources

In this article