System.Windows.Forms.SelectionMode Enumeration

Specifies the selection behavior of a list box.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public enum SelectionMode

Remarks

This enumeration is used by classes such as System.Windows.Forms.ListBox and System.Windows.Forms.CheckedListBox.

Members

Member NameDescription
MultiExtended

Multiple items can be selected, and the user can use the SHIFT, CTRL, and arrow keys to make selections

MultiSimple

Multiple items can be selected.

None

No items can be selected.

One

Only one item can be selected.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0