System.Web.UI.WebControls.ListSelectionMode Enumeration

Specifies the selection mode of the System.Web.UI.WebControls.ListBox control.

Syntax

public enum ListSelectionMode

Remarks

The System.Web.UI.WebControls.ListSelectionMode enumeration represents the selection mode of the System.Web.UI.WebControls.ListBox control that determines whether a user can select multiple items or just a single item.

Members

Member NameDescription
Multiple

Multiple item selection mode.

Single

Single item selection mode.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0