Skip to main content

SelectionMode Enumeration

Defines the selection mode for a control which can select multiple items.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

[FlagsAttribute]
public enum SelectionMode
View Source

Members​

Single0One item can be selected.
Multiple1Multiple items can be selected.
Toggle2Item selection can be toggled by tapping/spacebar.
AlwaysSelected4An item will always be selected as long as there are items to select.

See Also​

Reference​

Avalonia.Controls Namespace