CheckedListBox VB.Net MultiExtended SelectionMode

I have one CheckedListBoxwith several elements, and I want to allow the user to select more than one using the arrow keys or mouse clicks in combination with the shift and ctrl keys, so I set the property SelectionModeto MultiExtended.

It is not possible to get an error during development:

Invalid property value

.

and if I installed it at runtime by doing:

clbEmployees.SelectionMode = SelectionMode.MultiSimple

I also get the message:

CheckedListBox is not compatible with multiple selections.

How can i do this?

+3
source share
1 answer

It is not supported for CheckedListBox.

, ListView. CheckBoxes MultiSelect Listview. , .

+1

Source: https://habr.com/ru/post/1741473/


All Articles