Skip to main content

CalendarSelectionMode Enumeration

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

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public enum CalendarSelectionMode

Remarks​

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

Members​

SingleDate0Only a single date can be selected. Use the SelectedDate property to retrieve the selected date.
SingleRange1A single range of dates can be selected. Use SelectedDates property to retrieve the selected dates.
MultipleRange2Multiple non-contiguous ranges of dates can be selected. Use the SelectedDates property to retrieve the selected dates.
None3No selections are allowed.

See Also​

Reference​

Avalonia.Controls Namespace