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

后端 未结 7 1737
再見小時候
再見小時候 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:00

    Multiple selection is not supported, but i got here by search to find the CheckedItems.

    The selected items refers to the items that are marked, the checked items refers to the items that are checked.

    Hence use .CheckedItems property instead of .SelectedItems if you want the items with a checked checkbox.

提交回复
热议问题