How do I allow the user to multi-check with the CheckedListBox through the 'shift' key?

后端 未结 7 1676
再見小時候
再見小時候 2020-12-30 08:41

Say that I have a CheckedListBox with items \"1\", \"2\", \"3\", \"4\", and \"5\" in that order and I want to select \"2\", \"3\", and \"4\" by selecting \"2\" then holding

7条回答
  •  一整个雨季
    2020-12-30 09:19

    Please follow these steps:

    • Select CheckOnClick = true.

    • When you want to retrieve selected item, use GetItemChecked(int index) method instead.

提交回复
热议问题