SelectionMode Enum

Summary

Defines the selection mode for a control which can select multiple items.
Namespace
Avalonia.Controls
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph TD Base0["Enum"]-->Type Base1["ValueType"]-->Base0 Base2["object"]-->Base1 Interface0["IComparable"]-.->Type Interface1["IFormattable"]-.->Type Interface2["IConvertible"]-.->Type Type["SelectionMode"] class Type type-node

Syntax

[Flags]
public enum SelectionMode

Attributes

Type Description
FlagsAttribute

Fields

Name Constant Value Summary
AlwaysSelected 4
An item will always be selected as long as there are items to select.
static
Multiple 1
Multiple items can be selected.
static
Single 0
One item can be selected.
static
Toggle 2
Item selection can be toggled by tapping/spacebar.
static