Click here to Skip to main content
15,893,904 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can I use a CheckBox to select all the items in a CheckedListBox?
Posted

Check out this article on MSDN[^] with a walkthrough of the control and an example of how to iterate through all the items in the list.

Cheers.
 
Share this answer
 
Comments
Terence J 23-Aug-11 11:16am    
Thank you for your quick response. The code work fine.
count the number of items and if that number equals the number of checked checkbox in the checkedlistbox object. if the same than checkbox.Selected = true else false
 
Share this answer
 
Comments
Terence J 23-Aug-11 11:19am    
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900