16

I am looking for way to implement multi selection enabled list box in windows forms C#. Any suggestions? Thanks.

eomeroff
  • 9,599
  • 30
  • 97
  • 138
  • 4
    List boxes do this already. See: http://stackoverflow.com/questions/1420514/listbox-selected-items-in-winform – wprl Jan 13 '10 at 20:24

1 Answers1

33

Just add a ListBox control and set the Property: SelectionMode = SelectionMode.MultiExtended

Then you can get the selected items in: ListBox1.SelectedItems

Kanagawa Marcos
  • 100
  • 1
  • 9
Burnsys
  • 854
  • 1
  • 8
  • 11