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.
 
Back
Top