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

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

    There might be an easier alternative, but you could use a ListView, set CheckBoxes to true, HeaderStyle to None, and View to List.

    Correction:

    Should have been set View to Details.

提交回复
热议问题