SelectionMode Enum

Definition

Defines constants that specify the selection behavior for a ListBox.

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

Fields

Name Value Description
Single 0

The user can select only one item at a time.

Multiple 1

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

Extended 2

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

Applies to