SelectionMode Enum

Definition

Defines constants that specify the selection behavior for a ListBox.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
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

Produkt Verzie
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6