ListViewSelectionMode Enum

Definition

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

public enum class ListViewSelectionMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class ListViewSelectionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum ListViewSelectionMode
Public Enum ListViewSelectionMode
Inheritance
ListViewSelectionMode
Attributes

Fields

Name Value Description
None 0

A user can't select items.

Single 1

A user can select a single item.

Multiple 2

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

Extended 3

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

Applies to