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)]
/// [Windows.Foundation.Metadata.WebHostHidden]
enum ListViewSelectionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.WebHostHidden]
public enum ListViewSelectionMode
Public Enum ListViewSelectionMode
Inheritance
ListViewSelectionMode
Attributes
Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.WebHostHiddenAttribute

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