CalendarSelectionMode Enum

Summary

Specifies values that describe the available selection modes for a Calendar.
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["CalendarSelectionMode"] class Type type-node

Syntax

public enum CalendarSelectionMode

Remarks

This enumeration provides the values that are used by the SelectionMode property.

Fields

Name Constant Value Summary
MultipleRange 2
Multiple non-contiguous ranges of dates can be selected. Use the SelectedDates property to retrieve the selected dates.
static
None 3
No selections are allowed.
static
SingleDate 0
Only a single date can be selected. Use the SelectedDate property to retrieve the selected date.
static
SingleRange 1
A single range of dates can be selected. Use SelectedDates property to retrieve the selected dates.
static

Extension Methods