I have some items in a CheckedListBox, I want to disable the CheckBox of first item in it. i.e. I want to disable the first item in the C
CheckedListBox
CheckBox
C
The solution is to use the event ItemChecking:
ItemChecking
_myCheckedListBox.ItemChecking += (s, e) => e.Cancel = true;
This will cancel all the checking on every item, but you can always do more refined solution but testing the current .SelectedItem
.SelectedItem