Table of Contents

Enum CalendarSelectionMode

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll

Specifies values that describe the available selection modes for a Calendar.

public enum CalendarSelectionMode

Fields

MultipleRange = 2

Multiple non-contiguous ranges of dates can be selected. Use the SelectedDates property to retrieve the selected dates.

None = 3

No selections are allowed.

SingleDate = 0

Only a single date can be selected. Use the SelectedDate property to retrieve the selected date.

SingleRange = 1

A single range of dates can be selected. Use SelectedDates property to retrieve the selected dates.

Remarks

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