How to disable a checkbox in a checkedlistbox?

后端 未结 11 776
遥遥无期
遥遥无期 2020-12-03 10:46

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

11条回答
  •  广开言路
    2020-12-03 11:08

    The CheckedListBox will not work in this way. CheckedListBox.Items is a collection of strings so they cannot be "disabled" as such.

    Here are some discussions about possible solutions that might help you: here and here.

提交回复
热议问题