This documentation is archived and is not being maintained.
SelectionMode Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Defines the selection behavior for a ListBox.
Namespace:
System.Windows.Controls
Assembly:
System.Windows (in System.Windows.dll)
No code example is currently available or this language may not be supported.
| Member name | Description |
|---|
| Single | The user can select only one item at a time. |
| Multiple | The user can select multiple items. |
| Extended | The user can select multiple items by pressing a modifier key, such as SHIFT. |
Set the ListBox::SelectionMode property to one of the SelectionMode values to specify whether the user can select more that one item in a list box.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0