MultiSelect

Returns or sets a value indicating whether a user can make multiple selections in a ListBox control and how the multiple selections can be made. Read-only at run time.

Syntax

object.MultiSelect

The object placeholder represents an object expression that evaluates to an object.

Settings

The MultiSelect property settings are described in the following table.

Setting Description
0 (Default). Multiple selection is not allowed.
1 Simple multiple selection. A mouse click or pressing the SPACEBAR selects or deselects an item in the list. (Arrow keys move the focus.)
2 Extended multiple selection. Pressing SHIFT and clicking the mouse or pressing SHIFT and one of the arrow keys (UP ARROW, DOWN ARROW, LEFT ARROW, and RIGHT ARROW) extends the selection from the previously selected item to the current item. Pressing CTRL and clicking the mouse selects or deselects an item in the list.