CheckedListBox.SelectionMode

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello:
Who has used checkedListbox control in windows form? I feel puzzled
about the reference of it document.What means "SelectionMode.One" ? Does it
mean this control only support select one from many choice or select nothing?
As in my test project ,It seems that it supports multiple selection ? What
does SelectionMode.One mean?
Thanks in advance!!!
 
There is a difference between selected items and checked items for the
CheckedListBox control. A selected item is highlighted and a checked item
has its checkbox checked. The SelectionMode refers to selected items - not
check items. So if you use SelectionMode.One the user can only highlight one
item at a time but you can always check 0 to many items.

HTH, Jakob.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top