CalendarSelectionMode Enumeration

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

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
C#
public enum CalendarSelectionMode

Remarks

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

Members

SingleDate0 Only a single date can be selected. Use the SelectedDate property to retrieve the selected date.
SingleRange1 A single range of dates can be selected. Use SelectedDates property to retrieve the selected dates.
MultipleRange2 Multiple non-contiguous ranges of dates can be selected. Use the SelectedDates property to retrieve the selected dates.
None3 No selections are allowed.

See Also