ListViewSelectionMode Enum

Definition

Defines constants that specify the selection mode of a ListView or GridView.

Equivalent WinUI enum: ListViewSelectionMode.

public enum class ListViewSelectionMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.WebHostHidden]
enum ListViewSelectionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.WebHostHidden]
public enum ListViewSelectionMode
Public Enum ListViewSelectionMode
Inheritance
ListViewSelectionMode
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Extended 3

The user can select multiple items by entering a special mode, for example when depressing a modifier key.

Multiple 2

The user can select multiple items without entering a special mode.

None 0

A user can't select items.

Single 1

A user can select a single item.

Applies to