'Declaration Public Property SelectionMode As SelectionMode
'Usage Dim instance As ListBox Dim value As SelectionMode instance.SelectionMode = value value = instance.SelectionMode
public SelectionMode SelectionMode {get; set;}
Property Value
A SelectionMode value indicating how the items in a listbox are selected at run time. By default, SelectionMode.Single.
If set to Single, only one item can be selected at a time. If set to Multiple, multiple items can be selected without pressing a modifier key. If set to Extended, multiple items can be selected but only if a modifier key is pressed.