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 BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] 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

Extension Methods