CalendarSelectionMode Enumeration
Specifies values that describe the available selection modes for a Calendar.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public enum CalendarSelectionMode
Public Enumeration CalendarSelectionMode
type CalendarSelectionMode
Remarks
This enumeration provides the values that are used by the SelectionMode property.
Members
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. |
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. |