.NET Windows Forms in a Nutshell
This enumeration is used by the ListBox and CheckedListBox controls to determine what kind of selection is supported. None implies that selection is disabled (although the control itself is still enabled), One offers single selection, while MultiSimple and MultiExtended reflect the two Windows multiple-selection modes. public enum SelectionMode { None = 0 , One = 1 , MultiSimple = 2 , MultiExtended = 3 } Hierarchy
System.Object Returned By
ListBox.SelectionMode Passed To
ListBox.SelectionMode |