Getting Started with WinForms CheckedDropDownList
The following tutorial demonstrates how to populate RadCheckedDropDownList and how to react to a user's choice in code.
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
See Also
Telerik UI for WinForms Learning Resources
- Telerik UI for WinForms CheckedDropDownList Component
- Getting Started with Telerik UI for WinForms Components
- Telerik UI for WinForms Setup
- Telerik UI for WinForms Application Modernization
- Telerik UI for WinForms Visual Studio Templates
- Deploy Telerik UI for WinForms Applications
- Telerik UI for WinForms Virtual Classroom(Training Courses for Registered Users)
- Telerik UI for WinForms License Agreement)