Click here to Skip to main content
15,905,504 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
this code bellow count the checked items in the checkedListBox.

I want to count the uncheked items ,

What I have tried:

int ChckedItems_Numbers = checkedListBox.CheckedItems.Count ;
Posted
Updated 26-Sep-17 4:53am

1 solution

Get the count of all items and subtract the count of checked ones. Simple arithmetic.
 
Share this answer
 

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